]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: check initialization state before updating features
authorDavid Sterba <dsterba@suse.com>
Wed, 27 Jan 2016 13:06:29 +0000 (14:06 +0100)
committerChris Mason <clm@fb.com>
Wed, 27 Jan 2016 13:40:10 +0000 (05:40 -0800)
commit6487b427ea8e3e3b5a9efaff333cb07147cbc3c5
tree0d2e6c360d15afc0ec04b488b682e9d8c99c7d17
parentc0a277c4db7185ce144799f0fb7662543113d341
btrfs: sysfs: check initialization state before updating features

If the mount phase is not finished, we can't update the sysfs files.

Reported-by: Chris Mason <clm@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/sysfs.c