Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ee17fc80 authored by David Sterba's avatar David Sterba
Browse files

btrfs: sysfs: protect reading label by lock



If the label setting ioctl races with sysfs label handler, we could get
mixed result in the output, part old part new. We should either get the
old or new label. The chances to hit this race are low.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 66ac9fe7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment