diff options
author | Josef Bacik <jbacik@fb.com> | 2016-05-27 13:01:08 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-07-07 18:45:53 +0200 |
commit | 40acc3eededbe16f6104a32776e541f223d00b5e (patch) | |
tree | ab03dacb02052d46a6f33ca1ced68cc9686bde42 /fs/btrfs/disk-io.c | |
parent | ae2e4728816510ae4e8ed2b732b34ea0aba05a34 (diff) | |
download | op-kernel-dev-40acc3eededbe16f6104a32776e541f223d00b5e.zip op-kernel-dev-40acc3eededbe16f6104a32776e541f223d00b5e.tar.gz |
Btrfs: always use trans->block_rsv for orphans
This is the case all the time anyway except for relocation which could be doing
a reloc root for a non ref counted root, in which case we'd end up with some
random block rsv rather than the one we have our reservation in. If there isn't
enough space in the block rsv we are trying to steal from we'll BUG() because we
expect there to be space for the orphan to make its reservation. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions