diff options
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 6ceedc7b98d..65d5cb4f70b 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/sched.h> | 35 | #include <linux/sched.h> |
36 | #include <linux/vmalloc.h> | 36 | #include <linux/vmalloc.h> |
37 | #include <linux/kmemleak.h> | 37 | #include <linux/kmemleak.h> |
38 | #include <linux/xattr.h> | ||
38 | 39 | ||
39 | #include "delegation.h" | 40 | #include "delegation.h" |
40 | #include "iostat.h" | 41 | #include "iostat.h" |
@@ -125,9 +126,10 @@ const struct inode_operations nfs4_dir_inode_operations = { | |||
125 | .permission = nfs_permission, | 126 | .permission = nfs_permission, |
126 | .getattr = nfs_getattr, | 127 | .getattr = nfs_getattr, |
127 | .setattr = nfs_setattr, | 128 | .setattr = nfs_setattr, |
128 | .getxattr = nfs4_getxattr, | 129 | .getxattr = generic_getxattr, |
129 | .setxattr = nfs4_setxattr, | 130 | .setxattr = generic_setxattr, |
130 | .listxattr = nfs4_listxattr, | 131 | .listxattr = generic_listxattr, |
132 | .removexattr = generic_removexattr, | ||
131 | }; | 133 | }; |
132 | 134 | ||
133 | #endif /* CONFIG_NFS_V4 */ | 135 | #endif /* CONFIG_NFS_V4 */ |