ext4: move procfs registration code to fs/ext4/sysfs.c
authorTheodore Ts'o <tytso@mit.edu>
Wed, 23 Sep 2015 16:46:17 +0000 (12:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 23 Sep 2015 16:46:17 +0000 (12:46 -0400)
commitebd173beb8db5b8b315fa1c5bbac86c54059397a
tree2150c4685e1b44c0435632ea27bd417293d999f7
parent76d33bca5581b1dd5c3157fa168db849a784ada4
ext4: move procfs registration code to fs/ext4/sysfs.c

This allows us to refactor the procfs code, which saves a bit of
compiled space.  More importantly it isolates most of the procfs
support code into a single file, so it's easier to #ifdef it out if
the proc file system has been disabled.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents_status.c
fs/ext4/extents_status.h
fs/ext4/mballoc.c
fs/ext4/super.c
fs/ext4/sysfs.c