diff options
author | 2011-08-30 12:34:28 -0400 | |
---|---|---|
committer | 2011-10-19 15:12:44 -0400 | |
commit | 4a92b1b8d2810db4ea0c34616b94c0b3810fa027 (patch) | |
tree | dd01cff1987b8178be84f8b750951497b7f525a7 /ipc/msgutil.c | |
parent | Btrfs: don't get the block_rsv in btrfs_free_tree_block (diff) | |
download | wireguard-linux-4a92b1b8d2810db4ea0c34616b94c0b3810fa027.tar.xz wireguard-linux-4a92b1b8d2810db4ea0c34616b94c0b3810fa027.zip |
Btrfs: stop passing a trans handle all around the reservation code
The only thing that we need to have a trans handle for is in
reserve_metadata_bytes and thats to know how much flushing we can do. So
instead of passing it around, just check current->journal_info for a
trans_handle so we know if we can commit a transaction to try and free up space
or not. Thanks,
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions