summary refs log tree commit diff
path: root/fs/affs/file.c
diff options
context:
space:
mode:
authorAnand Jain <Anand.Jain@oracle.com>2015-03-20 18:01:20 +0800
committerDavid Sterba <dsterba@suse.cz>2015-05-27 12:27:19 +0200
commit8345ea31dc6e1772726d1d0b8864dedac55038e0 (patch)
treeb119c49cbd9ff49b4262bc7e490cae0eced223a4 /fs/affs/file.c
parente7e1aa9c913da380fbf1977ac4fa98e464023605 (diff)
downloadlinux-8345ea31dc6e1772726d1d0b8864dedac55038e0.tar.gz
Btrfs: sysfs: fix, kobject pointer clean up needed after kobject release
The sysfs clean up self test like in the below code fails, since
fs_info->device_dir_kobject still points to its stale kobject.
Reseting this pointer will help to fix this.

open_ctree()
{

ret = btrfs_sysfs_add_one(fs_info);
::
+       btrfs_sysfs_remove_one(fs_info);
+       ret = btrfs_sysfs_add_one(fs_info);
+       if (ret) {
+               pr_err("BTRFS: failed to init sysfs interface: %d\n", ret);
+               goto fail_block_groups;
+       }

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/affs/file.c')
0 files changed, 0 insertions, 0 deletions