]> git.baikalelectronics.ru Git - kernel.git/commit
Introduce path_get()
authorJan Blunck <jblunck@suse.de>
Fri, 15 Feb 2008 03:34:38 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 15 Feb 2008 05:13:33 +0000 (21:13 -0800)
commitf7c1d969e903d0e2c7a04166b75e4e57d3663e32
treeb92ba8ffd3cad1175a75df0356882e50b5999f98
parent008d5271809763ebb2534a060a25b27df1809a7e
Introduce path_get()

This introduces the symmetric function to path_put() for getting a reference
to the dentry and vfsmount of a struct path in the right order.

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: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c
include/linux/path.h