autofs: path_{get,put}() cleanups
authorJan Blunck <jblunck@suse.de>
Thu, 1 May 2008 11:35:10 +0000 (04:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:04:01 +0000 (08:04 -0700)
commit868eb7a8539d3e8c494209be2b1f4084a274dfef
tree98fa82b87e638fc7898fd5a73db3e87b5d542d66
parent9d2de6ad2a78bb8b60bf7a54e6043dca44e9a801
autofs: path_{get,put}() cleanups

Here are some more places where path_{get,put}() can be used instead of
dput()/mntput() pair.  Besides that it fixes a bug in autofs4_mount_busy()
where mntput() was called before dput().

Signed-off-by: Jan Blunck <jblunck@suse.de>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/expire.c
fs/autofs4/root.c