]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/autofs4/root.c
autofs4: use helper function for need mount check
authorIan Kent <raven@themaw.net>
Wed, 16 Dec 2009 00:45:44 +0000 (16:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:19:57 +0000 (07:19 -0800)
commit36b6413ef301d30f60037e497ecb902897895473
tree6f1e4ce514d691b02d2506fed5780e5b4dc0f6b1
parentc4cd70b3e3e95cc2201a00edf6deb52327d73c6b
autofs4: use helper function for need mount check

Define simple helper function for checking if we need to trigger a mount.

Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Sage Weil <sage@newdream.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Andreas Dilger <adilger@sun.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Yehuda Saheh <yehuda@newdream.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/root.c