diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index ee9024483f60..0f246c44a574 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -1955,8 +1955,7 @@ static int shmem_xattr_security_get(struct inode *inode, const char *name, | |||
1955 | { | 1955 | { |
1956 | if (strcmp(name, "") == 0) | 1956 | if (strcmp(name, "") == 0) |
1957 | return -EINVAL; | 1957 | return -EINVAL; |
1958 | return security_inode_getsecurity(inode, name, buffer, size, | 1958 | return xattr_getsecurity(inode, name, buffer, size); |
1959 | -EOPNOTSUPP); | ||
1960 | } | 1959 | } |
1961 | 1960 | ||
1962 | static int shmem_xattr_security_set(struct inode *inode, const char *name, | 1961 | static int shmem_xattr_security_set(struct inode *inode, const char *name, |