commit | f7ad3c6be90809b53b7f0ae9d4eaa45ce2564a79 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Aug 10 11:41:36 2010 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 11 00:28:20 2010 -0400 |
tree | dc9b09188bab35320200f318b5e7b52f24dc43ad | |
parent | 542ce7a9bc6b3838832ae0f4f8de30c667af8ff3 [diff] |
vfs: add helpers to get root and pwd Add three helpers that retrieve a refcounted copy of the root and cwd from the supplied fs_struct. get_fs_root() get_fs_pwd() get_fs_root_and_pwd() Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>