aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/acl.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2010-09-27 14:57:40 -0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-10-28 10:08:46 -0400
commit6e8dc55550273084b7fb5846df2f44439f5d03d9 (patch)
tree87d2e765f05f6775a71784870a2d0054713821a1 /fs/9p/acl.h
parent22d8dcdf8f8a3882d98757e78169014bb0bc6b23 (diff)
fs/9p: Update ACL on chmod
We need update the acl value on chmod 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/acl.h')
-rw-r--r--fs/9p/acl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/9p/acl.h b/fs/9p/acl.h
index b1414f7c82e0..0adcc4326d18 100644
--- a/fs/9p/acl.h
+++ b/fs/9p/acl.h
@@ -17,11 +17,16 @@
17#ifdef CONFIG_9P_FS_POSIX_ACL 17#ifdef CONFIG_9P_FS_POSIX_ACL
18extern int v9fs_get_acl(struct inode *, struct p9_fid *); 18extern int v9fs_get_acl(struct inode *, struct p9_fid *);
19extern int v9fs_check_acl(struct inode *inode, int mask); 19extern int v9fs_check_acl(struct inode *inode, int mask);
20extern int v9fs_acl_chmod(struct dentry *);
20#else 21#else
21#define v9fs_check_acl NULL 22#define v9fs_check_acl NULL
22static inline int v9fs_get_acl(struct inode *inode, struct p9_fid *fid) 23static inline int v9fs_get_acl(struct inode *inode, struct p9_fid *fid)
23{ 24{
24 return 0; 25 return 0;
25} 26}
27static inline int v9fs_acl_chmod(struct dentry *dentry)
28{
29 return 0;
30}
26#endif 31#endif
27#endif /* FS_9P_XATTR_H */ 32#endif /* FS_9P_XATTR_H */