]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/shmem.c
parport: add support for the Quatech SPPXP-100 Parallel port PCI ExpressCard
[karo-tx-linux.git] / mm / shmem.c
index ee9024483f6094bac4d6bdac8b798d11e8846fe7..0f246c44a5744ec5aac0930c7896923e96bcb215 100644 (file)
@@ -1955,8 +1955,7 @@ static int shmem_xattr_security_get(struct inode *inode, const char *name,
 {
        if (strcmp(name, "") == 0)
                return -EINVAL;
-       return security_inode_getsecurity(inode, name, buffer, size,
-                                         -EOPNOTSUPP);
+       return xattr_getsecurity(inode, name, buffer, size);
 }
 
 static int shmem_xattr_security_set(struct inode *inode, const char *name,