Skip to content

Commit 5e7fa6b

Browse files
andrealmeidbrauner
authored andcommitted
exportfs: Fix kernel-doc output for get_name()
Without a space between %NAME_MAX and the plus sign, kernel-doc will output ``NAME_MAX``+1, which scapes the last backtick and make Sphinx format a much larger string as monospaced text. Signed-off-by: André Almeida <andrealmeid@igalia.com> Link: https://patch.msgid.link/20260112-tonyk-fs_uuid-v1-1-acc1889de772@igalia.com Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 589cff4 commit 5e7fa6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/exportfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ struct handle_to_path_ctx {
234234
* get_name:
235235
* @get_name should find a name for the given @child in the given @parent
236236
* directory. The name should be stored in the @name (with the
237-
* understanding that it is already pointing to a %NAME_MAX+1 sized
237+
* understanding that it is already pointing to a %NAME_MAX + 1 sized
238238
* buffer. get_name() should return %0 on success, a negative error code
239239
* or error. @get_name will be called without @parent->i_rwsem held.
240240
*

0 commit comments

Comments
 (0)