]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: ensure we revalidate the inode after readdir if cifsacl is enabled
authorJeff Layton <jlayton@redhat.com>
Mon, 5 Nov 2012 11:47:04 +0000 (06:47 -0500)
committerJeff Layton <jlayton@redhat.com>
Mon, 5 Nov 2012 11:47:04 +0000 (06:47 -0500)
commit9a62c2ccbc9ea2fe7013d3f63f7a0582dc29b356
tree2119c219644abbe418a0130ff5b67f97e3194a65
parentb02ede0d83749b4a80ae03ea07d9e85880c2de39
cifs: ensure we revalidate the inode after readdir if cifsacl is enabled

Otherwise, "ls -l" will simply show the ownership of the files as
the default mnt_uid/gid. This may make "ls -l" performance on large
directories super-suck in some cases, but that's the cost of cifsacl.

One possibility to make it suck less would be to somehow proactively
dispatch the ACL requests asynchronously from readdir codepath, but
that's non-trivial to implement.

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