diff options
Diffstat (limited to 'fs/ext3/hash.c')
| -rw-r--r-- | fs/ext3/hash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext3/hash.c b/fs/ext3/hash.c index 5a2d1235ead0..deeb27b5ba83 100644 --- a/fs/ext3/hash.c +++ b/fs/ext3/hash.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * Copyright (C) 2002 by Theodore Ts'o | 4 | * Copyright (C) 2002 by Theodore Ts'o |
| 5 | * | 5 | * |
| 6 | * This file is released under the GPL v2. | 6 | * This file is released under the GPL v2. |
| 7 | * | 7 | * |
| 8 | * This file may be redistributed under the terms of the GNU Public | 8 | * This file may be redistributed under the terms of the GNU Public |
| 9 | * License. | 9 | * License. |
| 10 | */ | 10 | */ |
| @@ -80,11 +80,11 @@ static void str2hashbuf(const char *msg, int len, __u32 *buf, int num) | |||
| 80 | * Returns the hash of a filename. If len is 0 and name is NULL, then | 80 | * Returns the hash of a filename. If len is 0 and name is NULL, then |
| 81 | * this function can be used to test whether or not a hash version is | 81 | * this function can be used to test whether or not a hash version is |
| 82 | * supported. | 82 | * supported. |
| 83 | * | 83 | * |
| 84 | * The seed is an 4 longword (32 bits) "secret" which can be used to | 84 | * The seed is an 4 longword (32 bits) "secret" which can be used to |
| 85 | * uniquify a hash. If the seed is all zero's, then some default seed | 85 | * uniquify a hash. If the seed is all zero's, then some default seed |
| 86 | * may be used. | 86 | * may be used. |
| 87 | * | 87 | * |
| 88 | * A particular hash version specifies whether or not the seed is | 88 | * A particular hash version specifies whether or not the seed is |
| 89 | * represented, and whether or not the returned hash is 32 bits or 64 | 89 | * represented, and whether or not the returned hash is 32 bits or 64 |
| 90 | * bits. 32 bit hashes will return 0 for the minor hash. | 90 | * bits. 32 bit hashes will return 0 for the minor hash. |
| @@ -95,7 +95,7 @@ int ext3fs_dirhash(const char *name, int len, struct dx_hash_info *hinfo) | |||
| 95 | __u32 minor_hash = 0; | 95 | __u32 minor_hash = 0; |
| 96 | const char *p; | 96 | const char *p; |
| 97 | int i; | 97 | int i; |
| 98 | __u32 in[8], buf[4]; | 98 | __u32 in[8], buf[4]; |
| 99 | 99 | ||
| 100 | /* Initialize the default seed for the hash checksum functions */ | 100 | /* Initialize the default seed for the hash checksum functions */ |
| 101 | buf[0] = 0x67452301; | 101 | buf[0] = 0x67452301; |
