summaryrefslogtreecommitdiff
path: root/fs/mount.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-08-03 14:50:00 +0300
committerChristian Brauner <brauner@kernel.org>2024-08-30 09:22:32 +0300
commit2e91f69afa7eb4e0bbff2254bb4cc8f97b76c009 (patch)
tree9dab7c8f5975d3a546ec1c5c5ce910390a6c0af9 /fs/mount.h
parentc01a5d89e5c8abe638107be2a4ea9e4c7fcdd7f6 (diff)
downloadlinux-2e91f69afa7eb4e0bbff2254bb4cc8f97b76c009.tar.xz
fs: mounts: Remove unused declaration mnt_cursor_del()
Commit 2eea9ce4310d ("mounts: keep list of mounts in an rbtree") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20240803115000.589872-1-yuehaibing@huawei.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/mount.h')
-rw-r--r--fs/mount.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/mount.h b/fs/mount.h
index ad4b1ddebb54..0a78f85cf737 100644
--- a/fs/mount.h
+++ b/fs/mount.h
@@ -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);
}
-extern void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor);
bool has_locked_children(struct mount *mnt, struct dentry *dentry);