summaryrefslogtreecommitdiff
path: root/arch/m68k/Kconfig.bus
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-11-07 07:43:49 +0300
committerKees Cook <keescook@chromium.org>2016-06-02 21:24:52 +0300
commit52d210d961a62a9662e27f14d6505d6741b2fb02 (patch)
tree737ae0fafd5f5cb7bc9dd35cec60c66875ca04b5 /arch/m68k/Kconfig.bus
parent8cfc8ddc99df9509a46043b14af81f5c6a223eab (diff)
downloadlinux-52d210d961a62a9662e27f14d6505d6741b2fb02.tar.xz
pstore: drop file opened reference count
In ee1d267423a1 ("pstore: add pstore unregister") I added: .owner = THIS_MODULE, in both pstore_fs_type and pstore_file_operations to increase a reference count when pstore filesystem is mounted and pstore file is opened. But, it's repetitive. There is no need to increase the opened reference count. We only need to increase the mounted reference count. When a file is opened, the filesystem can't be unmounted. Hence the pstore module can't be unloaded either. So I drop the opened reference count in this patch. Fixes: ee1d267423a1 ("pstore: add pstore unregister") Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/m68k/Kconfig.bus')
0 files changed, 0 insertions, 0 deletions