mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
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:
parent
31de48b49d
commit
b3b202f451
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user