diff options
author | Ian Kent <raven@themaw.net> | 2008-07-23 21:30:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:31 -0700 |
commit | 5f6f4f28b6ba543beef8bad91aa6f69c7ffeee51 (patch) | |
tree | 72f3aac56d49c7bea7940f8d8b6e8ca559e3ae1c /arch/arm/configs/ixp2000_defconfig | |
parent | 391b52f98cf2e9bff227dad8bf9ea206fec43fa4 (diff) | |
download | talos-op-linux-5f6f4f28b6ba543beef8bad91aa6f69c7ffeee51.tar.gz talos-op-linux-5f6f4f28b6ba543beef8bad91aa6f69c7ffeee51.zip |
autofs4: don't make expiring dentry negative
Correct the error of making a positive dentry negative after it has been
instantiated.
The code that makes this error attempts to re-use the dentry from a
concurrent expire and mount to resolve a race and the dentry used for the
lookup must be negative for mounts to trigger in the required cases. The
fact is that the dentry doesn't need to be re-used because all that is
needed is to preserve the flag that indicates an expire is still
incomplete at the time of the mount request.
This change uses the the dentry to check the flag and wait for the expire
to complete then discards it instead of attempting to re-use it.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/configs/ixp2000_defconfig')
0 files changed, 0 insertions, 0 deletions