diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-16 14:49:45 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:12:53 -0400 |
commit | 328e6d9014636afc2b3c979403b36faadb412657 (patch) | |
tree | 711b12f8ba8bf1dcc4cdadd270a55dd7f9035e38 /fs/pnode.h | |
parent | 3ab6abee59ac9ca84cc4a1e31224f1dccd44394c (diff) | |
download | lwn-328e6d9014636afc2b3c979403b36faadb412657.tar.gz lwn-328e6d9014636afc2b3c979403b36faadb412657.zip |
switch unlock_mount() to namespace_unlock(), convert all umount_tree() callers
which allows to kill the last argument of umount_tree() and make release_mounts()
static.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pnode.h')
-rw-r--r-- | fs/pnode.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/pnode.h b/fs/pnode.h index f4357d3a0a44..9eb00ee65bbe 100644 --- a/fs/pnode.h +++ b/fs/pnode.h @@ -40,8 +40,7 @@ int get_dominating_id(struct mount *mnt, const struct path *root); unsigned int mnt_get_count(struct mount *mnt); void mnt_set_mountpoint(struct mount *, struct mountpoint *, struct mount *); -void release_mounts(struct list_head *); -void umount_tree(struct mount *, int, struct list_head *); +void umount_tree(struct mount *, int); struct mount *copy_tree(struct mount *, struct dentry *, int); bool is_path_reachable(struct mount *, struct dentry *, const struct path *root); |