Skip to contentSkip to conversation

exportfs: Fix incorrect comment about fh_to_dentry

PATCH New Kenjiro Nakayama 1 participant 1 message Sep 28, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exportfs: Fix incorrect comment about fh_to_dentry

d_alloc_root is obsolete. Replace with d_make_root.

---
 include/linux/exportfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/exportfs.h +1 -1
index 41b223a..c668cf6 100644
@@ -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