]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: synchronize incompat feature bits with sysfs files
authorDavid Sterba <dsterba@suse.com>
Thu, 21 Jan 2016 17:54:41 +0000 (18:54 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 21 Jan 2016 17:54:41 +0000 (18:54 +0100)
commitf25916bceea573848b933b4587cc1dc0e756acdc
tree79a2d0a4255c3555175ca3803fb9c9a6b6c8ea1a
parent31a20b01705511e1dcae021678fdeb842a8e014c
btrfs: synchronize incompat feature bits with sysfs files

The files under /sys/fs/UUID/features get out of sync with the actual
incompat bits set for the filesystem if they change after mount (eg. the
LZO compression).

Synchronize the feature bits with the sysfs files representing them
right after we set/clear them.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-tree.c
fs/btrfs/ioctl.c
fs/btrfs/super.c
fs/btrfs/volumes.c