]> git.baikalelectronics.ru Git - kernel.git/commit
orangefs: add .owner to debugfs file_operations
authorMike Marshall <hubcap@omnibond.com>
Wed, 16 Nov 2016 16:52:19 +0000 (11:52 -0500)
committerMike Marshall <hubcap@omnibond.com>
Wed, 16 Nov 2016 16:52:19 +0000 (11:52 -0500)
commit1a15d479fbe95c71a619b25f1f65829fe8af40b4
tree8e844e7bf2bb21b0d21e0d769e72b6243f7ef2e9
parentcc5a54a709a421244c78825365f519e4157dbdd7
orangefs: add .owner to debugfs file_operations

Without ".owner = THIS_MODULE" it is possible to crash the kernel
by unloading the Orangefs module while someone is reading debugfs
files.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-debugfs.c