]> 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)
commit6cb7fff111918429e32df471db8fa41013f0e61f
treefcc120a9b3ec12c3398908b9bb4491ef6cb3f603
parent0c4ed6fe1a4d8798be133eb7c3362dbc26f1745a
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