summaryrefslogtreecommitdiff
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-19 21:57:39 +0000
committerSteve French <sfrench@us.ibm.com>2007-10-19 21:57:39 +0000
commit4879b44829d94a1f8facf90cced3c5f23c5a8c62 (patch)
tree4fe294715e3c275cafcc2f2eebc531dd517b4440 /fs/cifs/inode.c
parentc4ec20717313daafba59225f812db89595952b83 (diff)
downloadlinux-3.10-4879b44829d94a1f8facf90cced3c5f23c5a8c62.tar.gz
linux-3.10-4879b44829d94a1f8facf90cced3c5f23c5a8c62.tar.bz2
linux-3.10-4879b44829d94a1f8facf90cced3c5f23c5a8c62.zip
[CIFS] ACL support part 5
Acked-by: Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 5e8b388be3b..9a5c0c925ba 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -527,6 +527,12 @@ int cifs_get_inode_info(struct inode **pinode,
/* BB fill in uid and gid here? with help from winbind?
or retrieve from NTFS stream extended attribute */
+#ifdef CONFIG_CIFS_EXPERIMENTAL
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) {
+ cFYI(1, ("Getting mode bits from ACL"));
+ get_mode_from_acl(inode, search_path);
+ }
+#endif
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) {
/* fill in uid, gid, mode from server ACL */
/* BB FIXME this should also take into account the