ext4: unregister features interface on module unload
authorLukas Czerner <lczerner@redhat.com>
Thu, 3 Feb 2011 19:33:33 +0000 (14:33 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Feb 2011 19:33:33 +0000 (14:33 -0500)
Ext4 features interface was not properly unregistered which led to
problems while unloading/reloading ext4 module. This commit fixes that by
adding proper kobject unregistration code into ext4_exit_fs() as well as
fail-path of ext4_init_fs()

Reported-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org

No differences found