]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
btrfs-use-radix_tree_iter_retry-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 9 Feb 2016 23:13:13 +0000 (10:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 9 Feb 2016 23:13:13 +0000 (10:13 +1100)
fs/btrfs/tests/btrfs-tests.c: In function 'btrfs_free_dummy_fs_info':
fs/btrfs/tests/btrfs-tests.c:149: error: incompatible type for argument 1 of 'radix_tree_iter_retry'
include/linux/radix-tree.h:399: note: expected 'struct radix_tree_iter *' but argument is of type 'struct radix_tree_iter'

Cc: Matthew Wilcox <willy@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Chris Mason <clm@fb.com>
Cc: Josef Bacik <jbacik@fb.com>
Cc: David Sterba <dsterba@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/btrfs/tests/btrfs-tests.c

index 52d45557816145b0f9a1778ce062bccf2efb8f97..1c76d73e06dc133edcf22baca12a9d5d7d5f576b 100644 (file)
@@ -146,7 +146,7 @@ static void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info)
                /* Shouldn't happen but that kind of thinking creates CVE's */
                if (radix_tree_exception(eb)) {
                        if (radix_tree_deref_retry(eb))
-                               slot = radix_tree_iter_retry(iter);
+                               slot = radix_tree_iter_retry(&iter);
                        continue;
                }
                spin_unlock(&fs_info->buffer_lock);