Inode was leaking its small data lock.
* This should not have harmed normal operation (as an Inode is only destroyed when it is no longer being used), but the fs_shell could run out of semaphores easily.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2010, Axel Dörfler, [email protected].
|
||||
* Copyright 2001-2012, Axel Dörfler, [email protected].
|
||||
* This file may be used under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
@@ -400,6 +400,7 @@ Inode::~Inode()
|
||||
delete fTree;
|
||||
|
||||
rw_lock_destroy(&fLock);
|
||||
recursive_lock_destroy(&fSmallDataLock);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user