[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240803115000.589872-1-yuehaibing@huawei.com>
Date: Sat, 3 Aug 2024 19:50:00 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <viro@...iv.linux.org.uk>, <brauner@...nel.org>, <jack@...e.cz>,
<mszeredi@...hat.com>
CC: <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<yuehaibing@...wei.com>
Subject: [PATCH -next] 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@...wei.com>
---
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
Powered by blists - more mailing lists