summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2008-10-17 16:16:10 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-19 13:01:37 +0300
commit54779aabb0183bbe049d2b52e96cd148366dfb0b (patch)
treec740badf2465dc5239fd593e058393ca9eb25435 /fs/ubifs
parentfae7fb299f382355145c6cb4eec6aa84f4cd1fca (diff)
downloadlinux-54779aabb0183bbe049d2b52e96cd148366dfb0b.tar.gz
linux-54779aabb0183bbe049d2b52e96cd148366dfb0b.tar.bz2
linux-54779aabb0183bbe049d2b52e96cd148366dfb0b.zip
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>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/compress.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c
index 5bb51dac3c16..a0ada596b17c 100644
--- a/fs/ubifs/compress.c
+++ b/fs/ubifs/compress.c
@@ -91,8 +91,6 @@ struct ubifs_compressor *ubifs_compressors[UBIFS_COMPR_TYPES_CNT];
*
* Note, if the input buffer was not compressed, it is copied to the output
* buffer and %UBIFS_COMPR_NONE is returned in @compr_type.
- *
- * This functions returns %0 on success or a negative error code on failure.
*/
void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len,
int *compr_type)