diff options
author | Jan Blunck <jblunck@suse.de> | 2008-02-15 04:34:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-15 06:13:33 +0100 |
commit | 5dd784d04924be5d8bc066aded0ec3274b20e612 (patch) | |
tree | b92ba8ffd3cad1175a75df0356882e50b5999f98 /init/do_mounts.c | |
parent | Use path_put() in a few places instead of {mnt,d}put() (diff) | |
download | linux-5dd784d04924be5d8bc066aded0ec3274b20e612.tar.xz linux-5dd784d04924be5d8bc066aded0ec3274b20e612.zip |
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>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions