linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] exportfs: Fix incorrect comment about fh_to_dentry
@ 2014-09-28 11:15 Kenjiro Nakayama
  0 siblings, 0 replies; only message in thread
From: Kenjiro Nakayama @ 2014-09-28 11:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-nfs, trivial

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-28 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 11:15 [PATCH] exportfs: Fix incorrect comment about fh_to_dentry Kenjiro Nakayama

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).