ext4: move sysfs code from super.c to fs/ext4/sysfs.c
authorTheodore Ts'o <tytso@mit.edu>
Wed, 23 Sep 2015 16:44:17 +0000 (12:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 23 Sep 2015 16:44:17 +0000 (12:44 -0400)
commitb5799018827e67867fda77c3cde10fc080606fe2
treeebd4cc981162d55bef49b45ff86c846923411ef8
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
ext4: move sysfs code from super.c to fs/ext4/sysfs.c

Also statically allocate the ext4_kset and ext4_feat objects, since we
only need exactly one of each, and it's simpler and less code if we
drop the dynamic allocation and deallocation when it's not needed.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/Makefile
fs/ext4/ext4.h
fs/ext4/super.c
fs/ext4/sysfs.c [new file with mode: 0644]