Commit 2e91f69a authored by Yue Haibing's avatar Yue Haibing Committed by Christian Brauner

fs: mounts: Remove unused declaration mnt_cursor_del()

Commit 2eea9ce4 ("mounts: keep list of mounts in an rbtree")
removed the implementation but leave declaration.
Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20240803115000.589872-1-yuehaibing@huawei.comSigned-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent c01a5d89
...@@ -153,5 +153,4 @@ static inline void move_from_ns(struct mount *mnt, struct list_head *dt_list) ...@@ -153,5 +153,4 @@ static inline void move_from_ns(struct mount *mnt, struct list_head *dt_list)
list_add_tail(&mnt->mnt_list, dt_list); list_add_tail(&mnt->mnt_list, dt_list);
} }
extern void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor);
bool has_locked_children(struct mount *mnt, struct dentry *dentry); bool has_locked_children(struct mount *mnt, struct dentry *dentry);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment