cifs: don't override the uid/gid in getattr when cifsacl is enabled
authorJeff Layton <jlayton@redhat.com>
Sun, 25 Nov 2012 13:00:40 +0000 (08:00 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:13:12 +0000 (13:13 -0600)
commitd3d1fce11dbbf4246f1c37839b13757f08aec3b7
treee2594a52a76da9b36aea5cbd176a6ec65b4a30e9
parentb1a6dc21d1a731fdb71fcd683ef856c6af0b3f23
cifs: don't override the uid/gid in getattr when cifsacl is enabled

If we're using cifsacl, then we don't want to override the uid/gid with
the current uid/gid, since that would prevent you from being able to
upcall for this info.

Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/inode.c