Btrfs: skip states when they does not contain bits to clear
authorLiu Bo <liubo2009@cn.fujitsu.com>
Thu, 16 Feb 2012 10:34:37 +0000 (18:34 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 16 Feb 2012 16:23:17 +0000 (17:23 +0100)
commit0449314a9cc5a7fb0bd42e2175a3c46f68f3a2b0
tree8c651bb7aad7c0529098c46b2dca9a7f02a282f9
parent285190d99fef696ec8b0041787387f013cb71d67
Btrfs: skip states when they does not contain bits to clear

Clearing a range's bits is different with setting them, since we don't
need to touch them when states do not contain bits we want.

Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
fs/btrfs/extent_io.c