From: "J. Bruce Fields" <bfields@fieldses.org>
To: Benny Halevy <bhalevy@panasas.com>
Cc: eanderle@umich.edu, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] pnfsd: Add IP address validation to nfsd4_set_pnfs_dlm_device()
Date: Tue, 15 Jun 2010 10:55:50 -0400 [thread overview]
Message-ID: <20100615145550.GC17437@fieldses.org> (raw)
In-Reply-To: <4C16C4AD.9000906@panasas.com>
On Mon, Jun 14, 2010 at 08:09:17PM -0400, Benny Halevy wrote:
> On Jun. 14, 2010, 16:09 -0400, Benny Halevy <bhalevy@panasas.com> wrote:
> > On 2010-06-14 16:00, J. Bruce Fields wrote:
> >> From: Eric Anderle <eanderle@umich.edu>
> >>
> >> We should catch errors in the format at the time the list is given to
> >> the kernel, rather than just returning garbage to the client and letting
> >> the client fail.
> >>
> >> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
> >> ---
> >> fs/nfsd/nfs4pnfsdlm.c | 29 +++++++++++++++++++++++------
> >> 1 files changed, 23 insertions(+), 6 deletions(-)
> >>
> >> diff --git a/fs/nfsd/nfs4pnfsdlm.c b/fs/nfsd/nfs4pnfsdlm.c
> >> index 1cf1b69..b6d9f23 100644
> >> --- a/fs/nfsd/nfs4pnfsdlm.c
> >> +++ b/fs/nfsd/nfs4pnfsdlm.c
> >> @@ -26,6 +26,7 @@
> >> #include <linux/nfsd/debug.h>
> >> #include <linux/nfsd/nfs4pnfsdlm.h>
> >> #include <linux/nfsd/nfs4layoutxdr.h>
> >> +#include <linux/sunrpc/clnt.h>
> >>
> >> #include "nfsfh.h"
> >> #include "nfsd.h"
> >> @@ -87,6 +88,24 @@ out:
> >> return ret;
> >> }
> >>
> >> +bool nfsd4_validate_pnfs_dlm_device(char *ds_list, int len, int *num_ds)
> >
> > Is "len" used?
>
> Merged at pnfs-all-2.6.35-rc3-2010-06-14
> len parameter removed.
Thanks.
--b.
prev parent reply other threads:[~2010-06-15 14:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 20:00 [PATCH] pnfsd: Add IP address validation to nfsd4_set_pnfs_dlm_device() J. Bruce Fields
2010-06-14 20:09 ` Benny Halevy
2010-06-15 0:09 ` Benny Halevy
2010-06-15 14:55 ` J. Bruce Fields [this message]
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=20100615145550.GC17437@fieldses.org \
--to=bfields@fieldses.org \
--cc=bhalevy@panasas.com \
--cc=eanderle@umich.edu \
--cc=linux-nfs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.