File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Documentation/filesystems Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1183,12 +1183,11 @@ LOOK_CREATE or LOOKUP_RENAME_TARGET.
1183
1183
1184
1184
** mandatory**
1185
1185
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().
1192
1191
1193
1192
In general, filesystems which use d_instantiate_new() to install the new
1194
1193
inode can safely return NULL. Filesystems which may not have an I_NEW inode
You can’t perform that action at this time.
0 commit comments