]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: export the balance paused state of exclusive operation
authorDavid Sterba <dsterba@suse.com>
Tue, 3 May 2022 15:35:25 +0000 (17:35 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 5 May 2022 19:05:56 +0000 (21:05 +0200)
commit07a9d08e40d223f60ebc64f542e1290e87fa2680
tree388df473be5555e6acc04c2a187fbfdfa6abe33f
parent8135ce8f24b0e0bd397e23c3fa575fe980ebea1c
btrfs: sysfs: export the balance paused state of exclusive operation

The new state allowing device addition with paused balance is not
exported to user space so it can't recognize it and actually start the
operation.

Fixes: df6086959d5d ("btrfs: introduce exclusive operation BALANCE_PAUSED state")
CC: stable@vger.kernel.org # 5.17
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c