ext4: simplify procfs code
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Apr 2018 09:37:23 +0000 (11:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:30 +0000 (07:24 +0200)
commit247dbed8c952559222742de21d026d5a2e83e239
treed5045305224c3f10f44fbab068ab04f910aa642d
parent353861cf05945002c3ddeb2519b0dc5f7bb765d5
ext4: 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/ext4/ext4.h
fs/ext4/mballoc.c
fs/ext4/sysfs.c