Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

André Almeida and committed by
Christian Brauner
5e7fa6bf 589cff49

+1 -1
+1 -1
include/linux/exportfs.h
··· 234 234 * get_name: 235 235 * @get_name should find a name for the given @child in the given @parent 236 236 * 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 238 238 * buffer. get_name() should return %0 on success, a negative error code 239 239 * or error. @get_name will be called without @parent->i_rwsem held. 240 240 *