]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
exportfs: Fix kernel-doc output for get_name()
authorAndré Almeida <andrealmeid@igalia.com>
Tue, 13 Jan 2026 01:51:24 +0000 (22:51 -0300)
committerChristian Brauner <brauner@kernel.org>
Wed, 14 Jan 2026 15:50:37 +0000 (16:50 +0100)
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>
include/linux/exportfs.h

index f0cf2714ec52dd942b8f1c455a25702bd7e412b3..599ea86363e1a7b09552d5ded6034faba2442b44 100644 (file)
@@ -234,7 +234,7 @@ struct handle_to_path_ctx {
  * get_name:
  *    @get_name should find a name for the given @child in the given @parent
  *    directory.  The name should be stored in the @name (with the
- *    understanding that it is already pointing to a %NAME_MAX+1 sized
+ *    understanding that it is already pointing to a %NAME_MAX + 1 sized
  *    buffer.   get_name() should return %0 on success, a negative error code
  *    or error.  @get_name will be called without @parent->i_rwsem held.
  *