Skip to content

Commit c66f759

Browse files
rddunlapbrauner
authored andcommitted
fs_parser: update mount_api doc to match function signature
Add the missing 'name' parameter to the mount_api documentation for fs_validate_description(). Fixes: 96cafb9 ("fs_parser: remove fs_parameter_description name field") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20241125215021.231758-1-rdunlap@infradead.org Cc: Eric Sandeen <sandeen@redhat.com> Cc: David Howells <dhowells@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Cc: Jan Kara <jack@suse.cz> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent b651251 commit c66f759

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/filesystems/mount_api.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ process the parameters it is given.
770770

771771
* ::
772772

773-
bool fs_validate_description(const struct fs_parameter_description *desc);
773+
bool fs_validate_description(const char *name,
774+
const struct fs_parameter_description *desc);
774775

775776
This performs some validation checks on a parameter description. It
776777
returns true if the description is good and false if it is not. It will

0 commit comments

Comments
 (0)