kernfs: remove redundant kernfs_rwsem declaration.
authorImran Khan <imran.f.khan@oracle.com>
Fri, 18 Feb 2022 01:02:05 +0000 (12:02 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Feb 2022 07:11:00 +0000 (08:11 +0100)
commitf3a690227f07390b0cfccb96ebbd87bf4ab0a5b2
tree214b45d36463d104cc558c3be32a0e5f7637f5af
parent27446562a1d9946a89231504a3c64eff2e7ca41d
kernfs: remove redundant kernfs_rwsem declaration.

Since 'commit 393c3714081a ("kernfs: switch global kernfs_rwsem lock to
per-fs lock")' per-fs kernfs_rwsem has replaced global kernfs_rwsem.
Remove redundant declaration of global kernfs_rwsem.

Fixes: 393c3714081a ("kernfs: switch global kernfs_rwsem lock to per-fs lock")
Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Link: https://lore.kernel.org/r/20220218010205.717582-1-imran.f.khan@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/kernfs-internal.h