]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: only clear dirty on the buffer if it is marked as dirty
authorJosef Bacik <jbacik@fusionio.com>
Mon, 15 Oct 2012 17:33:54 +0000 (13:33 -0400)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:25 +0000 (20:46 -0500)
commitaf08ffa628a3f773f0f96f40ff6d4e55dc5a8ca2
tree63a4dd9371818be8f98f272d5ea12fd41715c1bb
parente35ac152886cce4f6f556d9939650d74760ded9e
Btrfs: only clear dirty on the buffer if it is marked as dirty

No reason to set the path blocking or loop through all of the pages if the
extent buffer isn't actually marked dirty.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c