diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2017-08-23 21:15:09 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-26 15:48:30 +0300 |
commit | 5f14efd3d437205143dcffcf776e0122eae1755a (patch) | |
tree | 5cb4506a16f0faa6e97f62f6ee5e890f9eee8a78 /drivers/scsi/zorro7xx.c | |
parent | ff40adf7fbdff96860b1153332c0b1c7bab6e0c1 (diff) | |
download | linux-5f14efd3d437205143dcffcf776e0122eae1755a.tar.xz |
Btrfs: do not reset bio->bi_ops while writing bio
flush_epd_write_bio() sets bio->bi_opf by itself to honor REQ_SYNC,
but it's not needed at all since bio->bi_opf has set up properly in
both __extent_writepage() and write_one_eb(), and in the case of
write_one_eb(), it also sets REQ_META, which we will lose in
flush_epd_write_bio().
This remove this unnecessary bio->bi_opf setting.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/scsi/zorro7xx.c')
0 files changed, 0 insertions, 0 deletions