[RAMEN9610-9428] debugfs: purge obsolete SRCU based removal protection
authorNicolai Stange <nicstange@gmail.com>
Mon, 30 Oct 2017 23:15:52 +0000 (00:15 +0100)
committerhskang <hs1218.kang@samsung.com>
Thu, 13 Dec 2018 11:42:00 +0000 (20:42 +0900)
commit2b487bb0b96d3344d6c4eb956a24a39442a3fe2a
tree92ac5cc09f2ccb7c0e118d844dcc0817cfa14c11
parentd75d41681bda6f24c0468e9ba135dac18796d640
[RAMEN9610-9428] debugfs: purge obsolete SRCU based removal protection

Purge the SRCU based file removal race protection in favour of the new,
refcount based debugfs_file_get()/debugfs_file_put() API.

Fixes: 49d200deaa68 ("debugfs: prevent access to removed files' private data")
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c
fs/debugfs/inode.c
include/linux/debugfs.h
lib/Kconfig.debug