Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yue Haibing and committed by
Christian Brauner
2e91f69a c01a5d89

-1
-1
fs/mount.h
··· 153 153 list_add_tail(&mnt->mnt_list, dt_list); 154 154 } 155 155 156 - extern void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor); 157 156 bool has_locked_children(struct mount *mnt, struct dentry *dentry);