UDF: fix function name from udf_crc16 to udf_crc
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 16 Jul 2007 06:41:40 +0000 (23:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:51 +0000 (09:05 -0700)
We have to change udf_crc16() name to udf_crc() to be able to play with CRC
test.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/udf/crc.c

index 1b82a4adc2f7594ae11cc9151200be3135449f8d..ef2bfaa19d75be46edff821d6db7fbc604f248e3 100644 (file)
@@ -106,8 +106,8 @@ int main(void)
 {
        unsigned short x;
 
-       x = udf_crc16(bytes, sizeof bytes);
-       printf("udf_crc16: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
+       x = udf_crc(bytes, sizeof bytes);
+       printf("udf_crc: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
 
        return 0;
 }