summaryrefslogtreecommitdiff
path: root/fs/9p/xattr.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2010-09-27 22:57:39 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-10-28 18:08:46 +0400
commit7a4566b0b8fa67c7cd7be9f2969a085920356abb (patch)
tree172736c4b5447ac02653d0597284bbda4b94bda5 /fs/9p/xattr.c
parent85ff872d3f4a62d076d698bd1fa15ca2a4d7c100 (diff)
downloadlinux-7a4566b0b8fa67c7cd7be9f2969a085920356abb.tar.xz
fs/9p: Add xattr callbacks for POSIX ACL
This patch implement fetching POSIX ACL from the server Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/xattr.c')
-rw-r--r--fs/9p/xattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/9p/xattr.c b/fs/9p/xattr.c
index 67ac6cfc1a07..43ec7df84336 100644
--- a/fs/9p/xattr.c
+++ b/fs/9p/xattr.c
@@ -164,5 +164,9 @@ ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size)
const struct xattr_handler *v9fs_xattr_handlers[] = {
&v9fs_xattr_user_handler,
+#ifdef CONFIG_9P_FS_POSIX_ACL
+ &v9fs_xattr_acl_access_handler,
+ &v9fs_xattr_acl_default_handler,
+#endif
NULL
};