Unionfs: use the new path_put
authorJan Blunck <jblunck@suse.de>
Fri, 15 Feb 2008 23:47:28 +0000 (18:47 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:37:42 +0000 (22:37 -0400)
commitb80a8d51376c92faa185008ea5dbe90fc116517d
tree8da58fa686c1ddbeef174ab29260020fae7f3e74
parent99fd3e19d09ae6f56122177928e7a95939124b86
Unionfs: use the new path_put

* Add path_put() functions for releasing a reference to the dentry and
  vfsmount of a struct path in the right order

* Switch from path_release(nd) to path_put(&nd->path)

* Rename dput_path() to path_put_conditional()

Signed-off-by: Jan Blunck <jblunck@suse.de>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/main.c
fs/unionfs/super.c