linux/mount.h: Remove duplicate struct declaration
PATCH 1/1 linux/mount.h: Remove duplicate struct declaration
struct path is declared at 85th line.
The declaration here is unnecessary. Remove it.
Signed-off-by Wan Jiabing <[email protected]>
--- include/linux/mount.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/mount.h +0 -2
@@ -93,8 +93,6 @@ extern struct vfsmount *mntget(struct vfsmount *mnt);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 *);
Signature · 1 line
2.25.1
Quoted 5 lines · Wan Jiabing
struct path is declared at 85th line.
The declaration here is unnecessary. Remove it.Signed-off-by Wan Jiabing <[email protected]>---
Looks good,
Reviewed-by Christian Brauner <[email protected]>