Re: [PATCH 5/6 v5] Btrfs: add missing cleanup on sysfs init failure

2014-07-01 Thread Satoru Takeuchi
(2014/06/23 21:01), Filipe David Borba Manana wrote: If we failed during initialization of sysfs, we weren't unregistering the top level btrfs sysfs entry nor the debugfs stuff. Not unregistering the top level sysfs entry makes future attempts to reload the btrfs module impossible and the

[PATCH 5/6 v5] Btrfs: add missing cleanup on sysfs init failure

2014-06-23 Thread Filipe David Borba Manana
If we failed during initialization of sysfs, we weren't unregistering the top level btrfs sysfs entry nor the debugfs stuff. Not unregistering the top level sysfs entry makes future attempts to reload the btrfs module impossible and the following is reported in dmesg: [ 2246.451296] WARNING: CPU: