mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
ae5d7f542c
There was a bug in which bound Inodes would lose all their references
(because localsocket does not reference them), and they would be
deallocated, and clients would get ECONNREFUSED as a result. now
LocalSocket has a strong reference to inode so that the inode will live
as long as the socket, and Inode has a weak reference to the socket,
because if the socket stops being referenced anywhere it should not be
bound.
This still prevents the reference loop that
|
||
---|---|---|
.. | ||
DevPtsFS | ||
Ext2FS | ||
FATFS | ||
ISO9660FS | ||
Plan9FS | ||
ProcFS | ||
RAMFS | ||
SysFS | ||
AnonymousFile.cpp | ||
AnonymousFile.h | ||
BlockBasedFileSystem.cpp | ||
BlockBasedFileSystem.h | ||
Custody.cpp | ||
Custody.h | ||
DeviceFileTypes.h | ||
FIFO.cpp | ||
FIFO.h | ||
File.cpp | ||
File.h | ||
FileBackedFileSystem.cpp | ||
FileBackedFileSystem.h | ||
FileSystem.cpp | ||
FileSystem.h | ||
Inode.cpp | ||
Inode.h | ||
InodeFile.cpp | ||
InodeFile.h | ||
InodeIdentifier.h | ||
InodeMetadata.cpp | ||
InodeMetadata.h | ||
InodeWatcher.cpp | ||
InodeWatcher.h | ||
Mount.cpp | ||
Mount.h | ||
OpenFileDescription.cpp | ||
OpenFileDescription.h | ||
UnveilNode.h | ||
VirtualFileSystem.cpp | ||
VirtualFileSystem.h |