diff mbox series

fs_parser: update mount_api doc to match function signature

Message ID 20241125215021.231758-1-rdunlap@infradead.org (mailing list archive)
State New
Headers show
Series fs_parser: update mount_api doc to match function signature | expand

Commit Message

Randy Dunlap Nov. 25, 2024, 9:50 p.m. UTC
Add the missing 'name' parameter to the mount_api documentation for
fs_validate_description().

Fixes: 96cafb9ccb15 ("fs_parser: remove fs_parameter_description name field")
Signed-off-by: Randy Dunlap <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
---
 Documentation/filesystems/mount_api.rst |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

--- linux-next-20241122.orig/Documentation/filesystems/mount_api.rst
+++ linux-next-20241122/Documentation/filesystems/mount_api.rst
@@ -770,7 +770,8 @@  process the parameters it is given.
 
    * ::
 
-       bool fs_validate_description(const struct fs_parameter_description *desc);
+       bool fs_validate_description(const char *name,
+                                    const struct fs_parameter_description *desc);
 
      This performs some validation checks on a parameter description.  It
      returns true if the description is good and false if it is not.  It will