]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add read-only check to sysfs handler of features
authorDavid Sterba <dsterba@suse.cz>
Fri, 23 Jan 2015 17:43:31 +0000 (18:43 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 May 2016 13:22:49 +0000 (15:22 +0200)
commit780d8e0e6cd101396d1e4fe94d779d82e7c72eaa
tree4127f2c27dd326e7a1d817bb8ecf925fd5b632aa
parenta7e581fb0fca8c069e20c0599aeb2dd83078578f
btrfs: add read-only check to sysfs handler of features

We don't want to trigger the change on a read-only filesystem, similar
to what the label handler does.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/sysfs.c