1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 18:07:34 +00:00
serenity/Kernel/FileSystem
Gunnar Beutner 7a1d09ef1a Kernel: Closing a file descriptor should not always close the file
When there is more than one file descriptor for a file closing
one of them should not close the underlying file.

Previously this relied on the file's ref_count() but at least
for sockets this didn't work reliably.
2021-04-30 11:42:35 +02:00
..
AnonymousFile.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AnonymousFile.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
BlockBasedFileSystem.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
BlockBasedFileSystem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Custody.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Custody.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
DevFS.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
DevFS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DevPtsFS.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
DevPtsFS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ext2_fs.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
ext2_types.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Ext2FileSystem.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
Ext2FileSystem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FIFO.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
FIFO.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
File.cpp Kernel: Closing a file descriptor should not always close the file 2021-04-30 11:42:35 +02:00
File.h Kernel: Closing a file descriptor should not always close the file 2021-04-30 11:42:35 +02:00
FileBackedFileSystem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileBackedFileSystem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileDescription.cpp Kernel: Closing a file descriptor should not always close the file 2021-04-30 11:42:35 +02:00
FileDescription.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileSystem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileSystem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Inode.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
Inode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InodeFile.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InodeFile.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
InodeIdentifier.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InodeMetadata.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InodeWatcher.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
InodeWatcher.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Plan9FileSystem.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
Plan9FileSystem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcFS.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
ProcFS.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
TmpFS.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
TmpFS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
VirtualFileSystem.cpp Kernel: Remove the now defunct LOCKER(..) macro. 2021-04-25 09:38:27 +02:00
VirtualFileSystem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00