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)
commit19ff7fcc76e6911a955742b40f85ba1030ccba5e
tree8e844e7bf2bb21b0d21e0d769e72b6243f7ef2e9
parentdc0336214eb07ee9de2a41dd4c81c744ffa419ac
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