]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit5dd784d04924be5d8bc066aded0ec3274b20e612
treeb92ba8ffd3cad1175a75df0356882e50b5999f98
parent09da5916baf6d3fb9ac16c125c801ae6ea151f97
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