linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: David Howells <dhowells@redhat.com>
Cc: Neil Brown <neilb@suse.de>, Christoph Hellwig <hch@infradead.org>,
	linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org
Subject: Re: Curiosities of Linux NFSD file handles
Date: Thu, 4 Dec 2008 14:35:11 -0500	[thread overview]
Message-ID: <20081204193511.GE7575@fieldses.org> (raw)
In-Reply-To: <19603.1228409217@redhat.com>

On Thu, Dec 04, 2008 at 04:46:57PM +0000, David Howells wrote:
> 
> I've been poking around in the exportfs code, and I see that the handle decode
> routines seem to expect that they may be given more data for a handle than the
> encode_fh() routine produced.

Somebody else who understands what you're asking about off the top of
their heads may be able to pop up and answer this.  But I'm a little
confused.  Which encode/decode routines exactly, and where do you see
them making assumptions about the size of the data?

--b.

> Is this still true?  Or can I assume that the amount of data now given to the
> decoder will exactly reflect the amount of data obtained from the encoder?

  reply	other threads:[~2008-12-04 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04 16:46 Curiosities of Linux NFSD file handles David Howells
2008-12-04 19:35 ` J. Bruce Fields [this message]
2008-12-04 22:28   ` NeilBrown
     [not found] ` <20081204193511.GE7575-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
2008-12-05  9:07   ` David Howells

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=20081204193511.GE7575@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=dhowells@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).