]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0214720d7947a41b7387566fc93dd0de23abfdb6
treebb66d582f6668101cdbca5e6a3592f2398271443
parent4162b9909e7200e53f51d8528f9bdc8b1bfc3ecd
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: 1bd0461ba316 ("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