cifs: fix use of CONFIG_CIFS_ACL
authorJeff Layton <jlayton@redhat.com>
Mon, 6 Dec 2010 17:52:08 +0000 (12:52 -0500)
committerSteve French <sfrench@us.ibm.com>
Mon, 6 Dec 2010 20:22:39 +0000 (20:22 +0000)
commit79df1baeec29022e4181f2964187b88661ef5517
tree2692721239eeb8bbfe591fc1ef038c90e61e8826
parentebb27386ffd2fcd0fad141e0eee97b8070f94ee2
cifs: fix use of CONFIG_CIFS_ACL

Some of the code under CONFIG_CIFS_ACL is dependent upon code under
CONFIG_CIFS_EXPERIMENTAL, but the Kconfig options don't reflect that
dependency. Move more of the ACL code out from under
CONFIG_CIFS_EXPERIMENTAL and under CONFIG_CIFS_ACL.

Also move find_readable_file out from other any sort of Kconfig
option and make it a function normally compiled in.

Reported-and-Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/Makefile
fs/cifs/cifsacl.c
fs/cifs/cifsacl.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/file.c
fs/cifs/inode.c