projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a37e1e7
)
Use leafsize and nodesize == pagesize for now
author
Chris Mason
<chris.mason@oracle.com>
Wed, 9 Apr 2008 23:49:01 +0000
(19:49 -0400)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Wed, 9 Apr 2008 23:49:01 +0000
(19:49 -0400)
mkfs.c
patch
|
blob
|
history
diff --git
a/mkfs.c
b/mkfs.c
index
506b6e0
..
8eabc41
100644
(file)
--- a/
mkfs.c
+++ b/
mkfs.c
@@
-273,9
+273,9
@@
int main(int ac, char **av)
int first_fd;
int ret;
int i;
- u32 leafsize =
16 * 1024
;
+ u32 leafsize =
getpagesize()
;
u32 sectorsize = 4096;
- u32 nodesize =
16 * 1024
;
+ u32 nodesize =
leafsize
;
u32 stripesize = 4096;
u64 blocks[6];
int zero_end = 1;