fileio: Remove dead code

There is no FUA bit in WRITE VERIFY commands. Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-04-29 15:59:03 +02:00
parent adaed5fdaa
commit def17abd22

View File

@@ -325,8 +325,6 @@ static int do_exec(struct vdisk_cmd *vcmd)
/* O_DSYNC flag is used for WT devices */
if (reply->status == 0)
exec_verify(vcmd, loff);
else if (fua)
exec_fsync(vcmd);
} else {
PRINT_WARNING("Attempt to write to read-only "
"device %s", dev->name);