Re: [PATCH] Btrfs: Check if kobject is initialized before put

2015-06-22 Thread David Sterba
On Mon, Jun 22, 2015 at 06:18:32PM +0800, Anand Jain wrote: > Signed-off-by: Anand Jain Tested-by: David Sterba Thanks, fixes the crash in the sysfs update patchset. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in

[PATCH] Btrfs: Check if kobject is initialized before put

2015-06-22 Thread Anand Jain
Signed-off-by: Anand Jain --- fs/btrfs/sysfs.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index ea81a05..603b0cc 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -523,9 +523,11 @@ static void __btrfs_sysfs_remove_fsid(str