]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use radix_tree_iter_retry()
authorMatthew Wilcox <willy@linux.intel.com>
Thu, 17 Mar 2016 21:22:00 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commit48c0c0904d72253c4c63a59e23642dc7af80f4b1
tree42a375b82da4a8b4393446d37d751aa9fe069c4e
parentb430d0e93b2a92df38019a09b4cb349fc12ef3c3
btrfs: use radix_tree_iter_retry()

Even though this is a 'can't happen' situation, use the new
radix_tree_iter_retry() pattern to eliminate a goto.

[akpm@linux-foundation.org: fix btrfs build]
Signed-off-by: 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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/btrfs/tests/btrfs-tests.c