2.6.6-rc2 nfs_fsync() breaks "cvs update"
Jim,
Maybe we could add some explicit comment here ?
Regards,
Fabian
fs/nfs/write.c +4 -1
@@ -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);