lkml.org 
[lkml]   [2004]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRE: [PATCH] 2.6.6-rc2 nfs_fsync() breaks "cvs update"
From
Date
Jim,

Maybe we could add some explicit comment here ?

Regards,
Fabian
diff -Naur orig/fs/nfs/write.c edited/fs/nfs/write.c
--- orig/fs/nfs/write.c 2004-04-21 18:10:52.000000000 +0200
+++ edited/fs/nfs/write.c 2004-04-24 08:53:46.000000000 +0200
@@ -357,8 +357,11 @@
goto out;
}
err = nfs_commit_inode(inode, 0, 0, wb_priority(wbc));
- if (err > 0)
+ if (err > 0){
wbc->nr_to_write -= err;
+ /* nfs_scan_list returned processed requests => no error */
+ err = 0;
+ }
out:
clear_bit(BDI_write_congested, &bdi->state);
wake_up_all(&nfs_write_congestion);
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.022 / U:1.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site