diff mbox

ubifs: ubifs_compress() returns void

Message ID Pine.LNX.4.64.0810171613360.9240@vixen.sonytel.be
State Accepted
Commit 54779aabb0183bbe049d2b52e96cd148366dfb0b
Headers show

Commit Message

Geert Uytterhoeven Oct. 17, 2008, 2:16 p.m. UTC
Update the comment for ubifs_compress(), which incorrectly states that it
returnsa success/failure indicator.

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


With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

Comments

Artem Bityutskiy Oct. 17, 2008, 2:25 p.m. UTC | #1
On Fri, 2008-10-17 at 16:16 +0200, Geert Uytterhoeven wrote:
> Update the comment for ubifs_compress(), which incorrectly states that it
> returnsa success/failure indicator.
> 
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

Pushed to ubifs-2.6.git tree, thank you!
diff mbox

Patch

diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c
index 5bb51da..a0ada59 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)