cifs: reorganize get_cifs_acl
authorChristoph Hellwig <hch@infradead.org>
Wed, 27 May 2009 13:37:33 +0000 (09:37 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 28 May 2009 17:08:02 +0000 (17:08 +0000)
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>

No differences found