lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210419113342.42849-1-wanjiabing@vivo.com>
Date:   Mon, 19 Apr 2021 19:33:04 +0800
From:   Wan Jiabing <wanjiabing@...o.com>
To:     Christian Brauner <christian.brauner@...ntu.com>,
        Al Viro <viro@...iv.linux.org.uk>,
        Miklos Szeredi <mszeredi@...hat.com>,
        Mattias Nissler <mnissler@...omium.org>,
        Ross Zwisler <zwisler@...gle.com>,
        Wan Jiabing <wanjiabing@...o.com>,
        Eric Biggers <ebiggers@...gle.com>,
        linux-kernel@...r.kernel.org
Cc:     kael_w@...h.net
Subject: [PATCH] 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 <wanjiabing@...o.com>
---
 include/linux/mount.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/mount.h b/include/linux/mount.h
index 5d92a7e1a742..9ebf8af88bff 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -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 *);
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ