]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita77216054232b16eff1ce621bb2ca6e61218e543
tree6f1e4ce514d691b02d2506fed5780e5b4dc0f6b1
parente3263f03fce0918bd49b4e02b2c1b202514a1bd7
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