public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Bruce Fields <bfields@citi.umich.edu>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/3] Remove redundant m_path field
Date: Thu, 28 Aug 2008 11:36:03 -0400	[thread overview]
Message-ID: <48B6C5E3.3040508@RedHat.com> (raw)
In-Reply-To: <1218422830-5465-2-git-send-email-bfields@citi.umich.edu>



Bruce Fields wrote:
> From: J. Bruce Fields <bfields@citi.umich.edu>
> 
> Contrary to the comment above its definition, the field m_path always
> has the same value as e_path: the *only* modifications of m_path are all
> of the form:
> 
> 	strncpy(exp->m_export.m_path, exp->m_export.e_path,
> 		sizeof (exp->m_export.m_path) - 1);
> 	exp->m_export.m_path[sizeof (exp->m_export.m_path) - 1] = '\0';
> 
> So m_path is always just a copy of e_path.  In places where we need to
> store a path to a submount of a CROSSMNT-exported filesystem, as in
> cache.c, we just use a local variable.
> 
> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Committed....

steved.

  parent reply	other threads:[~2008-08-28 15:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11  2:47 nfs-utils patches for v2/v3 security negotiation Bruce Fields
2008-08-11  2:47 ` [PATCH 1/3] Remove redundant m_path field Bruce Fields
2008-08-11  2:47   ` [PATCH 2/3] Minor mountd.c cleanup Bruce Fields
2008-08-11  2:47     ` [PATCH 3/3] Determine supported pseudoflavors from export Bruce Fields
2008-08-28 15:37       ` Steve Dickson
2008-08-28 15:36     ` [PATCH 2/3] Minor mountd.c cleanup Steve Dickson
2008-08-28 15:36   ` Steve Dickson [this message]
2008-08-11  3:16 ` [PATCH] remove idmapd.conf J. Bruce Fields
2008-08-28 15:37   ` Steve Dickson

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=48B6C5E3.3040508@RedHat.com \
    --to=steved@redhat.com \
    --cc=bfields@citi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox