diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2013-10-01 17:13:42 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-12 03:54:57 +0100 |
commit | 6174d3cb43aa974d0c8590a3e628ac35ab0bbc13 (patch) | |
tree | 4b268eeef057cf4cc3abd931905cf8547ef478d4 /fs/btrfs/tree-defrag.c | |
parent | Btrfs: fix memory leak of chunks' extent map (diff) | |
download | linux-6174d3cb43aa974d0c8590a3e628ac35ab0bbc13.tar.xz linux-6174d3cb43aa974d0c8590a3e628ac35ab0bbc13.zip |
Btrfs: remove unused max_key arg from btrfs_search_forward
It is not used for anything.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
-rw-r--r-- | fs/btrfs/tree-defrag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c index 94e05c1f118a..cbaa73c871a9 100644 --- a/fs/btrfs/tree-defrag.c +++ b/fs/btrfs/tree-defrag.c @@ -85,7 +85,7 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans, path->keep_locks = 1; - ret = btrfs_search_forward(root, &key, NULL, path, min_trans); + ret = btrfs_search_forward(root, &key, path, min_trans); if (ret < 0) goto out; if (ret > 0) { |