]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55f1f61431a2f4b4b4cf0cb6f5569a9fb21c08c8
treed5045305224c3f10f44fbab068ab04f910aa642d
parent6c6241b7f316bfe0abef46fb574f9ed4339672b5
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