cifs: have find_readable/writable_file filter by fsuid
authorJeff Layton <jlayton@redhat.com>
Wed, 29 Sep 2010 23:51:11 +0000 (19:51 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 6 Oct 2010 16:12:59 +0000 (16:12 +0000)
commit6508d904e6fb66ce4c34617f72b38d6714c4b9f6
treea5d24f696c9a9045c3880671eeb5fbc6ca9f61ab
parent13cfb7334eb6fd0fc06da5589aea1e947791f1d6
cifs: have find_readable/writable_file filter by fsuid

When we implement multiuser mounts, we'll need to filter filehandles
by fsuid. Add a flag for multiuser mounts and code to filter by
fsuid when it's set.

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