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

UBIFS: fix ubifs_compress commentary

Update the comment for ubifs_compress(), which incorrectly states that it
returnsa success/failure indicator.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

authored by

Geert Uytterhoeven and committed by
Artem Bityutskiy
54779aab fae7fb29

-2
-2
fs/ubifs/compress.c
··· 91 91 * 92 92 * Note, if the input buffer was not compressed, it is copied to the output 93 93 * buffer and %UBIFS_COMPR_NONE is returned in @compr_type. 94 - * 95 - * This functions returns %0 on success or a negative error code on failure. 96 94 */ 97 95 void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len, 98 96 int *compr_type)