aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/nfs/Exporting
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/filesystems/nfs/Exporting')
-rw-r--r--Documentation/filesystems/nfs/Exporting9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/filesystems/nfs/Exporting b/Documentation/filesystems/nfs/Exporting
index 87019d2b5981..09994c247289 100644
--- a/Documentation/filesystems/nfs/Exporting
+++ b/Documentation/filesystems/nfs/Exporting
@@ -92,7 +92,14 @@ For a filesystem to be exportable it must:
92 1/ provide the filehandle fragment routines described below. 92 1/ provide the filehandle fragment routines described below.
93 2/ make sure that d_splice_alias is used rather than d_add 93 2/ make sure that d_splice_alias is used rather than d_add
94 when ->lookup finds an inode for a given parent and name. 94 when ->lookup finds an inode for a given parent and name.
95 Typically the ->lookup routine will end with a: 95
96 If inode is NULL, d_splice_alias(inode, dentry) is eqivalent to
97
98 d_add(dentry, inode), NULL
99
100 Similarly, d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err)
101
102 Typically the ->lookup routine will simply end with a:
96 103
97 return d_splice_alias(inode, dentry); 104 return d_splice_alias(inode, dentry);
98 } 105 }