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>
Tue, 11 Nov 2014 02:36:28 +0000 (21:36 -0500)
commit1ab36d65c48131721d4c6aa670811d0c3a5af6c1
tree546d08d1bd49f7ac75805c8ce615d0a141925560
parent1286aad8f031962c5d10ea52e7c32525ec87e70f
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