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)
commitee6111386a1b304f8bf589d36810d53e3b27ee20
tree4127f2c27dd326e7a1d817bb8ecf925fd5b632aa
parente6c11f9a462e9ef4876d5e1539a6c06eded4c793
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