]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: don't override the uid/gid in getattr when cifsacl is enabled
authorJeff Layton <jlayton@redhat.com>
Mon, 5 Nov 2012 11:47:03 +0000 (06:47 -0500)
committerJeff Layton <jlayton@redhat.com>
Mon, 5 Nov 2012 11:47:03 +0000 (06:47 -0500)
commitb02ede0d83749b4a80ae03ea07d9e85880c2de39
tree1ce4a01b5bd9c97d1b215b438a69e0ca183adb2a
parent0389e9de59ad25d5f324cdedbdfed74acba93a3e
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>
fs/cifs/inode.c