diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-12-08 15:07:24 +0800 |
---|---|---|
committer | Li Zefan <lizf@cn.fujitsu.com> | 2012-01-11 10:26:42 +0800 |
commit | 125ccb0ae6806dbec31abf4a85448971df3b4e39 (patch) | |
tree | f530e85bea0639379997000a37e914d180e9e5b4 /fs/btrfs/extent-tree.c | |
parent | 4da6f1a332f6c16b6594c7892f13c31459b9b1c8 (diff) | |
download | blackbird-op-linux-125ccb0ae6806dbec31abf4a85448971df3b4e39.tar.gz blackbird-op-linux-125ccb0ae6806dbec31abf4a85448971df3b4e39.zip |
Btrfs: don't pass a trans handle unnecessarily in volumes.c
Some functions never use the transaction handle passed to them.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 8603ee4e3dfd..5b53479ce07b 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -7084,7 +7084,7 @@ int btrfs_can_relocate(struct btrfs_root *root, u64 bytenr) * space to fit our block group in. */ if (device->total_bytes > device->bytes_used + min_free) { - ret = find_free_dev_extent(NULL, device, min_free, + ret = find_free_dev_extent(device, min_free, &dev_offset, NULL); if (!ret) dev_nr++; |