The Inode's lock was named incorrectly when it was newly created.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16544 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-02-28 11:57:50 +00:00
parent 31de48b49d
commit b3b202f451

View File

@ -209,8 +209,8 @@ Inode::Inode(Volume *volume, Transaction &transaction, vnode_id id, mode_t mode,
volume, &transaction, id, this));
char lockName[B_OS_NAME_LENGTH];
snprintf(lockName, sizeof(lockName), "bfs inode %ld.%d",
BlockRun().AllocationGroup(), BlockRun().Start());
snprintf(lockName, sizeof(lockName), "bfs inode+%ld.%d",
run.AllocationGroup(), run.Start());
fLock.Initialize(lockName);
NodeGetter node(volume, transaction, this, true);