lkml.org 
[lkml]   [2004]   [Apr]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRE: [PATCH] 2.6.6-rc2 nfs_fsync() breaks "cvs update"
FromFabF <>
DateSat, 24 Apr 2004 08:57:40 +0200
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 13:02    [from the cache]
©2003-2008