diff options
author | Anand Jain <Anand.Jain@oracle.com> | 2015-03-10 06:38:24 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-05-27 12:27:19 +0200 |
commit | aaf13305160490531b0d5ee4d56d32fc09f9bfa0 (patch) | |
tree | b6388608a420a3f24a3b7aa6d33cbd0ef2efd269 /fs/btrfs/dev-replace.c | |
parent | 4d435731f99db87020730c4b17e1da148908340e (diff) | |
download | linux-aaf13305160490531b0d5ee4d56d32fc09f9bfa0.tar.gz linux-aaf13305160490531b0d5ee4d56d32fc09f9bfa0.tar.bz2 linux-aaf13305160490531b0d5ee4d56d32fc09f9bfa0.zip |
Btrfs: sysfs: reorder the kobject creations
As of now the order in which the kobjects are created
at btrfs_sysfs_add_one() is..
fsid
features
unknown features (dynamic features)
devices.
Since we would move fsid and device kobject to fs_devices
from fs_info structure, this patch will reorder in which
the kobjects are created as below.
fsid
devices
features
unknown features (dynamic features)
And hence the btrfs_sysfs_remove_one() will follow the same
in reverse order. and the device kobject destroy now can
be moved into the function __btrfs_sysfs_remove_one()
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions