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)
commit07a3b8ed48557fb9796943dac6333f527a6f5048
treee631e525e51022d75b1c6a594b6f515fa6a31bb5
parent247dbed8c952559222742de21d026d5a2e83e239
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