]> git.baikalelectronics.ru Git - kernel.git/commit
jfs: simplify procfs code
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Apr 2018 14:51:18 +0000 (16:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:30 +0000 (07:24 +0200)
commit7c2aeabb74df84dbfa3c4e673538e0b46dde6ecb
treee631e525e51022d75b1c6a594b6f515fa6a31bb5
parent8c549a39d14c86954c23cba6ae04b3474ca63cdd
jfs: simplify procfs code

Use remove_proc_subtree to remove the whole subtree on cleanup, and
unwind the registration loop into individual calls.  Switch to use
proc_create_seq where applicable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/jfs/jfs_debug.c
fs/jfs/jfs_debug.h
fs/jfs/jfs_logmgr.c
fs/jfs/jfs_metapage.c
fs/jfs/jfs_txnmgr.c
fs/jfs/jfs_xtree.c