diff options
author | Steve French <sfrench@us.ibm.com> | 2007-10-19 21:57:39 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-19 21:57:39 +0000 |
commit | 4879b44829d94a1f8facf90cced3c5f23c5a8c62 (patch) | |
tree | 4fe294715e3c275cafcc2f2eebc531dd517b4440 /fs/cifs/inode.c | |
parent | c4ec20717313daafba59225f812db89595952b83 (diff) | |
download | blackbird-op-linux-4879b44829d94a1f8facf90cced3c5f23c5a8c62.tar.gz blackbird-op-linux-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 5e8b388be3b6..9a5c0c925bab 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 |