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, 13 Jan 2009 02:32:31 +0000 (21:32 -0500)
commit3f8fdae63d102ebeca27c5e7de7a85b54b550422
tree7c4e7c5f83376710076506081056ab8bf57cf2c3
parent9f2ab12fe5ff6733ead884a4ac371f5f519bb301
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