git://git.onelab.eu
/
vsys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6bd258a
)
Got rid of PAGE_SIZE.
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Mon, 15 Sep 2008 12:24:37 +0000
(12:24 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Mon, 15 Sep 2008 12:24:37 +0000
(12:24 +0000)
factory/dcookie.c
patch
|
blob
|
history
diff --git
a/factory/dcookie.c
b/factory/dcookie.c
index
f5d01cd
..
3f991cb
100644
(file)
--- a/
factory/dcookie.c
+++ b/
factory/dcookie.c
@@
-20,7
+20,7
@@
int lookup_dcookie(uint64_t cookie, char * buf, size_t size)
int main(int argc,char *argv[]) {
/* fs/dcookie.c uses PAGE_SIZE */
int main(int argc,char *argv[]) {
/* fs/dcookie.c uses PAGE_SIZE */
- char path_buf[
PAGE_SIZE
],dcookie_buf[sizeof(INT64_MAXSZ)];
+ char path_buf[
16384
],dcookie_buf[sizeof(INT64_MAXSZ)];
/* In case nothing happens */
path_buf[0]='\0';
/* In case nothing happens */
path_buf[0]='\0';