[PATCH -next] fs: mounts: Remove unused declaration mnt_cursor_del()

From: Yue Haibing
Date: Sat Aug 03 2024 - 07:52:11 EST


Commit 2eea9ce4310d ("mounts: keep list of mounts in an rbtree")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx>
---
fs/mount.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/mount.h b/fs/mount.h
index c1db0c709c6a..185fc56afc13 100644
--- a/fs/mount.h
+++ b/fs/mount.h
@@ -153,7 +153,6 @@ 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);
struct mnt_namespace *__lookup_next_mnt_ns(struct mnt_namespace *mnt_ns, bool previous);
static inline struct mnt_namespace *lookup_next_mnt_ns(struct mnt_namespace *mntns)
--
2.34.1