mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: FabF <Fabian.Frederick@skynet.be>
To: lkml <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] 2.6.6-rc2 nfs_fsync() breaks "cvs update"
Date: Sat, 24 Apr 2004 08:57:40 +0200	[thread overview]
Message-ID: <1082789860.4676.24.camel@bluerhyme.real3> (raw)

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]

Jim,

	Maybe we could add some explicit comment here ?

Regards,
Fabian

[-- Attachment #2: nfscommitinode2.diff --]
[-- Type: text/x-patch, Size: 500 bytes --]

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);

             reply	other threads:[~2004-04-24  6:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-24  6:57 FabF [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-23 21:21 Jim Radford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1082789860.4676.24.camel@bluerhyme.real3 \
    --to=fabian.frederick@skynet.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®