From ddf3d846854e5d0f2d0be3ad89033401a3701cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 26 Jan 2004 03:20:07 +0000 Subject: [PATCH] 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 --- src/add-ons/kernel/file_systems/bfs/Volume.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Volume.cpp b/src/add-ons/kernel/file_systems/bfs/Volume.cpp index d9488d96d1..e5bb0b808e 100644 --- a/src/add-ons/kernel/file_systems/bfs/Volume.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Volume.cpp @@ -401,7 +401,6 @@ Volume::ToBlockRun(off_t block) const run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(block >> AllocationGroupShift()); run.start = HOST_ENDIAN_TO_BFS_INT16(block & ((1LL << AllocationGroupShift()) - 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; } @@ -559,7 +558,7 @@ Volume::Initialize(const char *device, const char *name, uint32 blockSize, uint3 off_t id; 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) RETURN_ERROR(status);