ext4: simplify kobject usage
authorTyson Nottingham <tgnottingham@gmail.com>
Fri, 30 Mar 2018 04:41:34 +0000 (00:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 30 Mar 2018 04:41:34 +0000 (00:41 -0400)
commitbc1420ae56266fa2c5a8e452d55f744ca98fe42f
treee995c7afc4e7a2a8975517aca7b9c55f8146c635
parent6ca06829fba6019913f524772ec189f1dc7ec3c8
ext4: simplify kobject usage

Replace kset with generic kobject provided by kobject_create_and_add(),
since the latter is sufficient.

Signed-off-by: Tyson Nottingham <tgnottingham@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/sysfs.c