[CIFS] Don't request too much permission when reading an ACL
authorSteve French <sfrench@us.ibm.com>
Wed, 31 Oct 2007 04:54:42 +0000 (04:54 +0000)
committerSteve French <sfrench@us.ibm.com>
Wed, 31 Oct 2007 04:54:42 +0000 (04:54 +0000)
commit953f868138dbf4300196780379476ab9f07f263a
treee0dfbaebe02e75094033425fc4274328c5928dd0
parente01b64001359034d04c695388870936ed3d1b56b
[CIFS] Don't request too much permission when reading an ACL

We were requesting GENERIC_READ but that fails when  we do not have
read permission on the file (even if we could read the ACL).

Also move the dump access control entry code into debug ifdef.

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsacl.c
fs/cifs/cifspdu.h
fs/cifs/cifsproto.h
fs/cifs/inode.c