aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2010-12-09 06:35:25 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-04 13:10:41 -0500
commit64c2ce8b72eceec4030b04bca32d098b3d1431bb (patch)
treed296c9282da04017457e44d36cf1bbda3451e2ac /fs/nfs/dir.c
parenta8a5da996df7d2d91b5aef2752da9adcefea4bc6 (diff)
nfsv4: Switch to generic xattr handling code
This patch make nfsv4 use the generic xattr handling code to get the nfsv4 acl. This will help us to add richacl support to nfsv4 in later patches Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 6ceedc7b98da..65d5cb4f70b1 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 */