char defname[10];
int sbsize;
- if (posix_memalign((void**)&sb, 512, SUPER1_SIZE) != 0) {
+ if (posix_memalign((void**)&sb, 4096, SUPER1_SIZE) != 0) {
fprintf(stderr, Name
": %s could not allocate superblock\n", __func__);
return 0;
return 1;
if (!first) {
- if (posix_memalign((void**)&first, 512, SUPER1_SIZE) != 0) {
+ if (posix_memalign((void**)&first, 4096, SUPER1_SIZE) != 0) {
fprintf(stderr, Name
": %s could not allocate superblock\n", __func__);
return 1;
return 1;
}
- if (posix_memalign((void**)&super, 512, SUPER1_SIZE) != 0) {
+ if (posix_memalign((void**)&super, 4096, SUPER1_SIZE) != 0) {
fprintf(stderr, Name ": %s could not allocate superblock\n",
__func__);
return 1;