]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Add helper function for free_root_pointers()
authorRashika <rashika.kheria@gmail.com>
Wed, 30 Oct 2013 21:15:20 +0000 (02:45 +0530)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:11:13 +0000 (22:11 -0500)
commit280a32dd563021703236a6353154d7ae48d0bc21
tree67114f60511afa3d1ceca92c42870208a5f4b059
parente4c3cfa61dd7f616f65c653defe33f576e46b0ad
btrfs: Add helper function for free_root_pointers()

The function free_root_pointers() in disk-io.h contains redundant code.
Therefore, this patch adds a helper function free_root_extent_buffers()
to free_root_pointers() to eliminate redundancy.

Reviewed-by: Zach Brown <zab@redhat.com>
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c