OSDN Git Service

debugfs: purge obsolete SRCU based removal protection
authorNicolai Stange <nicstange@gmail.com>
Mon, 30 Oct 2017 23:15:52 +0000 (00:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2017 19:25:02 +0000 (20:25 +0100)
commitc9afbec27089cd6b4e621b639f41c7fc726c3bf1
treebb66d582f6668101cdbca5e6a3592f2398271443
parent7cda7b8f97da9382bb945d541a85cde58d5dac27
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