]> 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)
commit689df070fc52caf5db4d290c401cd8cd0e05a0ad
tree79a2d0a4255c3555175ca3803fb9c9a6b6c8ea1a
parent6cb7fff111918429e32df471db8fa41013f0e61f
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