]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: refactor btrfs_extent_same() slightly
authorOmar Sandoval <osandov@fb.com>
Wed, 18 Jan 2017 07:37:38 +0000 (23:37 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Feb 2017 14:50:58 +0000 (15:50 +0100)
commit9c4debba8422069333f4dbee314e731c22afa063
tree57d81e2c511dde2b48d87fc3eda5e4397a6743b2
parentaf70d7100f6918bc74262c0fb805f04d37246ae1
Btrfs: refactor btrfs_extent_same() slightly

This was originally a prep patch for changing the behavior on len=0, but
we went another direction with that. This still makes the function
slightly easier to follow.

Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c