]> 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)
commitf1b7f586173846fc8a9f71347a854bf2843eef1d
treee631e525e51022d75b1c6a594b6f515fa6a31bb5
parent55f1f61431a2f4b4b4cf0cb6f5569a9fb21c08c8
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