git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4190 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-04-05 02:13:36 +00:00
parent 8a52742410
commit a0e7676e9c

View File

@@ -1496,8 +1496,7 @@ fd = open(filename, O_RDWR);
if (fd < 0) {
err = errno;
...
}
else {
} else {
err = ioctl(fd, BLKFLSBUF);
if (err < 0) {
err = errno;
@@ -1506,9 +1505,6 @@ else {
close(fd);
}
Patch to implement a sysfs entry for the FILEIO handler to accomplish
the above is welcome.
BLOCKIO VDISK mode
------------------