]> 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>
Fri, 19 Oct 2012 15:24:53 +0000 (11:24 -0400)
committerJeff Layton <jlayton@redhat.com>
Fri, 19 Oct 2012 15:24:53 +0000 (11:24 -0400)
commit7d62755b106cfab98179120b6081e065e97f0b66
treea4514e465af31dcab44b131cb22f33828e995d17
parentdee767df17686eaf86a9ed488b8e4b1dce5b860e
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