summaryrefslogtreecommitdiffstats
path: root/firmware/bnx2
diff options
context:
space:
mode:
authorIan Kent2012-12-14 03:23:23 +0100
committerLinus Torvalds2012-12-14 04:13:25 +0100
commitf55fb0c24386cee8b78f60d60186716bd0909493 (patch)
tree5ca3ab6c4c94c33f99934891c681c280778fb1c8 /firmware/bnx2
parentLinux 3.7 (diff)
downloadkernel-qcow2-linux-f55fb0c24386cee8b78f60d60186716bd0909493.tar.gz
kernel-qcow2-linux-f55fb0c24386cee8b78f60d60186716bd0909493.tar.xz
kernel-qcow2-linux-f55fb0c24386cee8b78f60d60186716bd0909493.zip
autofs4 - dont clear DCACHE_NEED_AUTOMOUNT on rootless mount
The DCACHE_NEED_AUTOMOUNT flag is cleared on mount and set on expire for autofs rootless multi-mount dentrys to prevent unnecessary calls to ->d_automount(). Since DCACHE_MANAGE_TRANSIT is always set on autofs dentrys ->d_managed() is always called so the check can be done in ->d_manage() without the need to change the flag. This still avoids unnecessary calls to ->d_automount(), adds negligible overhead and eliminates a seriously ugly check in the expire code. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/bnx2')
0 files changed, 0 insertions, 0 deletions