* [PATCH] include: linux: struct path is declared twice
@ 2021-03-25 7:00 Wan Jiabing
0 siblings, 0 replies; only message in thread
From: Wan Jiabing @ 2021-03-25 7:00 UTC (permalink / raw)
To: Christian Brauner, Miklos Szeredi, Al Viro, Mattias Nissler,
Aleksa Sarai, Eric Biggers, Wan Jiabing, linux-kernel
Cc: kael_w
struct path has been declared at 85th line.
Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
include/linux/mount.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/mount.h b/include/linux/mount.h
index 5d92a7e1a742..30272f961af7 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -94,7 +94,6 @@ extern struct vfsmount *mnt_clone_internal(const struct path *path);
extern bool __mnt_is_readonly(struct vfsmount *mnt);
extern bool mnt_may_suid(struct vfsmount *mnt);
-struct path;
extern struct vfsmount *clone_private_mount(const struct path *path);
extern int __mnt_want_write(struct vfsmount *);
extern void __mnt_drop_write(struct vfsmount *);
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-25 7:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 7:00 [PATCH] include: linux: struct path is declared twice Wan Jiabing
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).