aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs/linuxvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r--fs/befs/linuxvfs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index ab3f6e171ea9..a16fbd4e8241 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -582,21 +582,21 @@ befs_utf2nls(struct super_block *sb, const char *in,
582/** 582/**
583 * befs_nls2utf - Convert NLS string to utf8 encodeing 583 * befs_nls2utf - Convert NLS string to utf8 encodeing
584 * @sb: Superblock 584 * @sb: Superblock
585 * @src: Input string buffer in NLS format 585 * @in: Input string buffer in NLS format
586 * @srclen: Length of input string in bytes 586 * @in_len: Length of input string in bytes
587 * @dest: The output string in UTF-8 format 587 * @out: The output string in UTF-8 format
588 * @destlen: Length of the output buffer 588 * @out_len: Length of the output buffer
589 * 589 *
590 * Converts input string @src, which is in the format of the loaded NLS map, 590 * Converts input string @in, which is in the format of the loaded NLS map,
591 * into a utf8 string. 591 * into a utf8 string.
592 * 592 *
593 * The destination string @dest is allocated by this function and the caller is 593 * The destination string @out is allocated by this function and the caller is
594 * responsible for freeing it with kfree() 594 * responsible for freeing it with kfree()
595 * 595 *
596 * On return, *@destlen is the length of @dest in bytes. 596 * On return, *@out_len is the length of @out in bytes.
597 * 597 *
598 * On success, the return value is the number of utf8 characters written to 598 * On success, the return value is the number of utf8 characters written to
599 * the output buffer @dest. 599 * the output buffer @out.
600 * 600 *
601 * On Failure, a negative number coresponding to the error code is returned. 601 * On Failure, a negative number coresponding to the error code is returned.
602 */ 602 */