Skip to content

Commit

Permalink
Revert "build_image: btrfs: minimize allocation"
Browse files Browse the repository at this point in the history
This reverts commit 737e771.
  • Loading branch information
ader1990 committed Aug 20, 2024
1 parent 5f624db commit 436ee14
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build_library/disk_util
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ def ReadWriteSubvol(options, partition, disable_rw):
btrfs_mount = tempfile.mkdtemp()
Sudo(['mount', '-t', 'btrfs', loop_dev, btrfs_mount])
try:
Sudo(['btrfs', 'balance', 'start', '-dusage=0', '-musage=0', btrfs_mount])
Sudo(['btrfs', 'property', 'set', '-ts', btrfs_mount, 'ro', 'true' if disable_rw else 'false'])
finally:
Sudo(['umount', btrfs_mount])
Expand Down

0 comments on commit 436ee14

Please sign in to comment.