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>
Mon, 12 Jan 2009 23:20:53 +0000 (18:20 -0500)
commit9d40b45b0e89f92046eb36e0e80ed8b13ab32141
tree293f2f27d32661fde7f17dc5489690b0086a499e
parent84e40060e6074bce58260117a169668aee2e746e
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