From: Ian Kent Date: Thu, 6 Nov 2008 20:53:22 +0000 (-0800) Subject: autofs4: correct offset mount expire check X-Git-Tag: v2.6.28-rc4~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc9c4068388eea01d3b5da31016879f2341ecec5;p=pandora-kernel.git 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 Signed-off-by: Jeff Moyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed