]> git.hungrycats.org Git - linux/commit
Btrfs: Remove noneed force_write in scrub_write_block_to_dev_replace
authorZhao Lei <zhaolei@cn.fujitsu.com>
Tue, 20 Jan 2015 07:11:36 +0000 (15:11 +0800)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 27 Mar 2015 03:27:12 +0000 (23:27 -0400)
commit6c78432ab4c28450b00fc03d26e5eddca9dde231
tree25cd653d29623a92211a8ac3f8d4639dd8d34e7f
parent78316e289049554031fbd1ad40ff5e9774e5b9c8
Btrfs: Remove noneed force_write in scrub_write_block_to_dev_replace

It is always 1 in this place, because !1 case was already jumped
out in previous code.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
(cherry picked from commit 114ab50d823c2cc7cf60658fdbdaaba413009921)
fs/btrfs/scrub.c