public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: nfs@lists.sourceforge.net, nfs-devel@linux.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: kNFSd maintenance in 2.2.19pre
Date: Mon, 1 Jan 2001 18:37:29 +0100	[thread overview]
Message-ID: <20010101183729.C13560@athlon.random> (raw)
In-Reply-To: <14913.22373.943123.320678@notabene.cse.unsw.edu.au>
In-Reply-To: <14913.22373.943123.320678@notabene.cse.unsw.edu.au>; from neilb@cse.unsw.edu.au on Thu, Dec 21, 2000 at 12:05:41PM +1100

On Thu, Dec 21, 2000 at 12:05:41PM +1100, Neil Brown wrote:
>  So, I have started putting some patches together and they can be
>  found at
>     http://www.cse.unsw.edu.au/~neilb/patches/knfsd-2.2/

I included the interesting ones in my tree.

Here two fixes against the vfs backport:

--- ./fs/nfsd/vfs.c.~1~	Fri Dec 29 18:02:01 2000
+++ ./fs/nfsd/vfs.c	Mon Jan  1 18:09:46 2001
@@ -1603,9 +1603,11 @@
 	eof = !cd.eob;
 
 	if (cd.offset) {
+#ifdef CONFIG_NFSD_V3
 		if (rqstp->rq_vers == 3)
 			(void)enc64(cd.offset, file.f_pos);
 		else
+#endif /* CONFIG_NFSD_V3 */
 			*cd.offset = htonl(file.f_pos);
 	}
 
@@ -1624,6 +1626,7 @@
 	return err;
 
 out_nfserr:
+	up(&inode->i_sem);
 	err = nfserrno(-err);
 	goto out_close;
 }

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-01-01 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21  1:05 kNFSd maintenance in 2.2.19pre Neil Brown
2000-12-21  3:20 ` [NFS] " Jay Weber
2001-01-01 17:37 ` Andrea Arcangeli [this message]
2001-01-10  4:32   ` Neil Brown

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=20010101183729.C13560@athlon.random \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    --cc=nfs-devel@linux.kernel.org \
    --cc=nfs@lists.sourceforge.net \
    /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