btrfs: use btrfs_for_each_slot in process_all_new_xattrs
authorGabriel Niebler <gniebler@suse.com>
Wed, 9 Mar 2022 13:50:47 +0000 (14:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:08 +0000 (17:03 +0200)
commit69e4317759f5bc48daf3db3b2cabe31d751f9513
treeaef0bea6d141ece71c0ce45e948c50b15795bf23
parent649b96355d4b243bc9a186e733b0486678dad039
btrfs: use btrfs_for_each_slot in process_all_new_xattrs

This function can be simplified by refactoring to use the new iterator
macro.  No functional changes.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: Gabriel Niebler <gniebler@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.c