From: Ian Kent Date: Sun, 1 May 2005 15:59:17 +0000 (-0700) Subject: [PATCH] autofs4: tree race fix X-Git-Tag: v2.6.12-rc4~136^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a9720ce73c9247e5262922d65e90444ea75eb50;p=pandora-kernel.git [PATCH] autofs4: tree race fix For tree mount maps, a call to chdir or chroot, to a directory above the moint point directories at a certain time during the expire results in the expire incorrectly thinking the tree is not busy. This patch adds a check to see if the filesystem above the tree mount points is busy and also locks the filesystem during the tree mount expire to prevent the race. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed