]> 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)
commit01ce5a2e2f3e0020806d73958c9b1ffae39b1d1b
tree0d2e6c360d15afc0ec04b488b682e9d8c99c7d17
parent33a8772ddabe47f1d6faf7102b67f32f99de6fee
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