diff mbox series

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

Message ID 20240803115000.589872-1-yuehaibing@huawei.com (mailing list archive)
State New
Headers show
Series [-next] fs: mounts: Remove unused declaration mnt_cursor_del() | expand

Commit Message

Yue Haibing Aug. 3, 2024, 11:50 a.m. UTC
Commit 2eea9ce4310d ("mounts: keep list of mounts in an rbtree")
removed the implementation but leave declaration.

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

Comments

Christian Brauner Aug. 5, 2024, 7:04 a.m. UTC | #1
On Sat, 03 Aug 2024 19:50:00 +0800, Yue Haibing wrote:
> Commit 2eea9ce4310d ("mounts: keep list of mounts in an rbtree")
> removed the implementation but leave declaration.
> 
> 

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] fs: mounts: Remove unused declaration mnt_cursor_del()
      https://git.kernel.org/vfs/vfs/c/de11c86d68ba
diff mbox series

Patch

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)