All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linux-nfs@vger.kernel.org, trivial@kernel.org
Subject: [PATCH] exportfs: Fix incorrect comment about fh_to_dentry
Date: Sun, 28 Sep 2014 20:15:59 +0900	[thread overview]
Message-ID: <87a95k572o.fsf@gmail.com> (raw)

d_alloc_root is obsolete. Replace with d_make_root.

Signed-off-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
---
 include/linux/exportfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h
index 41b223a..c668cf6 100644
--- a/include/linux/exportfs.h
+++ b/include/linux/exportfs.h
@@ -152,7 +152,7 @@ struct fid {
  *    it should return a %NULL pointer if the file was found but no acceptable
  *    &dentries were available, or an %ERR_PTR error code indicating why it
  *    couldn't be found (e.g. %ENOENT or %ENOMEM).  Any suitable dentry can be
- *    returned including, if necessary, a new dentry created with d_alloc_root.
+ *    returned including, if necessary, a new dentry created with d_make_root.
  *    The caller can then find any other extant dentries by following the
  *    d_alias links.
  *
--
1.9.3

                 reply	other threads:[~2014-09-28 11:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87a95k572o.fsf@gmail.com \
    --to=nakayamakenjiro@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trivial@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.