mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-02 23:25:34 -04:00
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>
This commit is contained in:
committed by
Christian Brauner
parent
589cff4975
commit
5e7fa6bfa9
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user