mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
fileio: Remove dead code
There is no FUA bit in WRITE VERIFY commands. Detected by Coverity. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6344 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user