cifs: on multiuser mount, set ownership to current_fsuid/current_fsgid (try #5)
authorJeff Layton <jlayton@redhat.com>
Thu, 7 Oct 2010 18:46:28 +0000 (14:46 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 8 Oct 2010 03:26:28 +0000 (03:26 +0000)
commit3aa1c8c2900065a51268430ab48a1b42fdfe5b45
tree866119f148a97b306479a01b2e7180b2adb6eb61
parent13cd4b7f7472eea7cbc1ab34e042842fbb902160
cifs: on multiuser mount, set ownership to current_fsuid/current_fsgid (try #5)

...when unix extensions aren't enabled. This makes everything on the
mount appear to be owned by the current user.

This version of the patch differs from previous versions however in that
the admin can still force the ownership of all files to appear as a
single user via the uid=/gid= options.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c