Skip to content

Commit be66901

Browse files
committed
doc: fix inline emphasis warning
Fix a warning spotted by linux-next build (htmldocs): Documentation/filesystems/porting.rst:1186: WARNING: Inline emphasis start-string without end-string. [docutils] Introduced by commit 88d5baf ("Change inode_operations.mkdir to return struct dentry *") Reported-by: Stephen Rothwell <[email protected]> Fixes: 88d5baf ("Change inode_operations.mkdir to return struct dentry *") Signed-off-by: Christian Brauner <[email protected]>
1 parent 21432f9 commit be66901

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Documentation/filesystems/porting.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,12 +1183,11 @@ LOOK_CREATE or LOOKUP_RENAME_TARGET.
11831183

11841184
** mandatory**
11851185

1186-
->mkdir() now returns a 'struct dentry *'. If the created inode is
1187-
found to already be in cache and have a dentry (often IS_ROOT()), it will
1188-
need to be spliced into the given name in place of the given dentry.
1189-
That dentry now needs to be returned. If the original dentry is used,
1190-
NULL should be returned. Any error should be returned with
1191-
ERR_PTR().
1186+
->mkdir() now returns a dentry. If the created inode is found to
1187+
already be in cache and have a dentry (often IS_ROOT()), it will need to
1188+
be spliced into the given name in place of the given dentry. That dentry
1189+
now needs to be returned. If the original dentry is used, NULL should
1190+
be returned. Any error should be returned with ERR_PTR().
11921191

11931192
In general, filesystems which use d_instantiate_new() to install the new
11941193
inode can safely return NULL. Filesystems which may not have an I_NEW inode

0 commit comments

Comments
 (0)