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)
commit14e46e04958df740c6c6a94849f176159a333f13
tree79a2d0a4255c3555175ca3803fb9c9a6b6c8ea1a
parent444e75169872f668eb890f19ec1f32dfc632e704
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