23 lines
749 B
Diff
23 lines
749 B
Diff
|
Index: novfs-2.0.0/src/inode.c
|
||
|
===================================================================
|
||
|
--- novfs-2.0.0.orig/src/inode.c
|
||
|
+++ novfs-2.0.0/src/inode.c
|
||
|
@@ -1629,7 +1629,7 @@ ssize_t Novfs_f_read(struct file *file,
|
||
|
!(file->f_flags & O_DIRECT) &&
|
||
|
id->CacheFlag )
|
||
|
{
|
||
|
- totalread = generic_file_read(file, buf, len, off);
|
||
|
+ totalread = do_sync_read(file, buf, len, off);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
@@ -1693,7 +1693,7 @@ ssize_t Novfs_f_write(struct file *file,
|
||
|
!(file->f_flags & O_DIRECT) &&
|
||
|
id->CacheFlag )
|
||
|
{
|
||
|
- totalwrite = generic_file_write(file, buf, len, off);
|
||
|
+ totalwrite = do_sync_write(file, buf, len, off);
|
||
|
}
|
||
|
else
|
||
|
{
|