diff options
author | Christoph Hellwig <hch@infradead.org> | 2009-05-27 15:37:33 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-05-28 19:08:02 +0200 |
commit | 1bf4072da67c14d6b02cfeef02212aa5a6211df2 (patch) | |
tree | 610f12379929abda22be85fda824efc55626f60b /fs/cifs/inode.c | |
parent | [CIFS] Update readme to indicate change to default mount (serverino) (diff) | |
download | linux-1bf4072da67c14d6b02cfeef02212aa5a6211df2.tar.xz linux-1bf4072da67c14d6b02cfeef02212aa5a6211df2.zip |
cifs: reorganize get_cifs_acl
Thus spake Christoph:
"But this whole set_cifs_acl function is a real mess anyway and needs
some splitting up."
With this change too, it's possible to call acl_to_uid_mode() with a
NULL inode pointer. That (or something close to it) will eventually be
necessary when cifs_get_inode_info is reorganized.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 84b7bea73674..fad882b075ba 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -626,7 +626,7 @@ int cifs_get_inode_info(struct inode **pinode, /* fill in 0777 bits from ACL */ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) { cFYI(1, ("Getting mode bits from ACL")); - acl_to_uid_mode(inode, full_path, pfid); + acl_to_uid_mode(cifs_sb, inode, full_path, pfid); } #endif if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) { |