Removed debug output, set mode of newly created root node to 0755 instead of 0777.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6319 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-01-26 03:20:07 +00:00
parent a447f8b11c
commit ddf3d84685
@@ -401,7 +401,6 @@ Volume::ToBlockRun(off_t block) const
run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(block >> AllocationGroupShift()); run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(block >> AllocationGroupShift());
run.start = HOST_ENDIAN_TO_BFS_INT16(block & ((1LL << AllocationGroupShift()) - 1)); run.start = HOST_ENDIAN_TO_BFS_INT16(block & ((1LL << AllocationGroupShift()) - 1));
run.length = HOST_ENDIAN_TO_BFS_INT16(1); run.length = HOST_ENDIAN_TO_BFS_INT16(1);
__out("block %Ld -> (%lu, %u) %ld (%lu)\n", block, run.AllocationGroup(), run.Start(), AllocationGroupShift(), ((1UL << AllocationGroupShift()) - 1));
return run; return run;
} }
@@ -559,7 +558,7 @@ Volume::Initialize(const char *device, const char *name, uint32 blockSize, uint3
off_t id; off_t id;
status_t status = Inode::Create(&transaction, NULL, NULL, status_t status = Inode::Create(&transaction, NULL, NULL,
S_DIRECTORY | 0777, 0, 0, &id, &fRootNode); S_DIRECTORY | 0755, 0, 0, &id, &fRootNode);
if (status < B_OK) if (status < B_OK)
RETURN_ERROR(status); RETURN_ERROR(status);