diff options
author | Ian Kent <raven@themaw.net> | 2008-11-06 20:53:22 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-06 23:41:17 (GMT) |
commit | bc9c4068388eea01d3b5da31016879f2341ecec5 (patch) | |
tree | 3ff09783f4d5e3d19d8e5bda9b63419991726939 /fs/autofs4/dev-ioctl.c | |
parent | eefc488f96cdde6e152b45675b50bf380b95d99f (diff) | |
download | linux-fsl-qoriq-bc9c4068388eea01d3b5da31016879f2341ecec5.tar.xz |
autofs4: correct offset mount expire check
When checking a directory tree in autofs_tree_busy() we can incorrectly
decide that the tree isn't busy. This happens for the case of an active
offset mount as autofs4_follow_mount() follows past the active offset
mount, which has an open file handle used for expires, causing the file
handle not to count toward the busyness check.
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4/dev-ioctl.c')
0 files changed, 0 insertions, 0 deletions