projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: test/common: Enhance prepare_test_dev to reset device size
[platform/upstream/btrfs-progs.git]
/
hasher.c
diff --git
a/hasher.c
b/hasher.c
index
fb4b0a5
..
b80407c
100644
(file)
--- a/
hasher.c
+++ b/
hasher.c
@@
-35,8
+35,7
@@
int main() {
continue;
if (line[strlen(line)-1] == '\n')
line[strlen(line)-1] = '\0';
continue;
if (line[strlen(line)-1] == '\n')
line[strlen(line)-1] = '\0';
- ret = btrfs_name_hash(line, strlen(line), &result);
- BUG_ON(ret);
+ result = btrfs_name_hash(line, strlen(line));
printf("hash returns %llu\n", (unsigned long long)result);
}
return 0;
printf("hash returns %llu\n", (unsigned long long)result);
}
return 0;