]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: introduce helper for syncing bits with sysfs files
authorDavid Sterba <dsterba@suse.com>
Thu, 21 Jan 2016 17:50:40 +0000 (18:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 21 Jan 2016 17:50:40 +0000 (18:50 +0100)
commit31a20b01705511e1dcae021678fdeb842a8e014c
treefcc120a9b3ec12c3398908b9bb4491ef6cb3f603
parentd3a4ee73f5730fd86e9608dfc9223f65a371469a
btrfs: sysfs: introduce helper for syncing 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. We're
going to sync them and need a helper to do that.

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