debugfs: debugfs_real_fops(): drop __must_hold sparse annotation
commit055ab8e3e3d52e005d2047b14ce63551b3a8b8b5
authorNicolai Stange <nicstange@gmail.com>
Mon, 30 Oct 2017 23:15:49 +0000 (31 00:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2017 19:25:02 +0000 (7 20:25 +0100)
tree61772863c3889426f5b5f0661af74b1f1491e9d2
parente9117a5a4bf65d8e99f060d356a04d27a60b436d
debugfs: debugfs_real_fops(): drop __must_hold sparse annotation

Currently, debugfs_real_fops() is annotated with a
__must_hold(&debugfs_srcu) sparse annotation.

With the conversion of the SRCU based protection of users against
concurrent file removals to a per-file refcount based scheme, this becomes
wrong.

Drop this annotation.

Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c
include/linux/debugfs.h