Liav A
f5de4f24b2
Kernel/Devices: Defer creation of SysFS component after the constructor
...
Instead of doing so in the constructor, let's do immediately after the
constructor, so we can safely pass a reference of a Device, so the
SysFSDeviceComponent constructor can use that object to identify whether
it's a block device or a character device.
This allows to us to not hold a device in SysFSDeviceComponent with a
RefPtr.
Also, we also call the before_removing method in both SlavePTY::unref
and File::unref, so because Device has that method being overrided, it
can ensure the device is removed always cleanly.
2021-09-11 11:41:14 +02:00
..
2021-09-10 22:01:23 +02:00
2021-09-11 00:28:39 +02:00
2021-09-10 22:58:08 +03:00
2021-09-10 18:05:46 +03:00
2021-09-11 11:41:14 +02:00
2021-09-11 11:41:14 +02:00
2021-09-11 11:41:14 +02:00
2021-09-06 01:55:27 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 22:16:25 +02:00
2021-09-10 18:05:46 +03:00
2021-09-11 02:34:55 +02:00
2021-09-10 18:05:46 +03:00
2021-09-08 04:23:17 +00:00
2021-09-11 11:41:14 +02:00
2021-09-11 00:28:39 +02:00
2021-09-07 13:53:14 +02:00
2021-09-08 10:27:02 +02:00
2021-09-11 11:41:14 +02:00
2021-09-10 22:01:23 +02:00
2021-09-10 22:01:23 +02:00
2021-09-09 21:25:10 +02:00
2021-09-11 11:41:14 +02:00
2021-09-08 00:42:20 +02:00
2021-09-09 21:25:10 +02:00
2021-09-07 13:53:14 +02:00
2021-09-07 16:00:39 +02:00
2021-09-07 13:53:14 +02:00
2021-09-08 00:42:20 +02:00
2021-09-07 22:16:25 +02:00
2021-09-10 22:01:23 +02:00
2021-09-08 20:16:00 +02:00
2021-09-07 15:54:23 +02:00
2021-09-08 20:16:00 +02:00
2021-09-06 19:25:36 +02:00
2021-09-06 19:25:36 +02:00
2021-09-10 22:58:08 +03:00
2021-09-10 22:58:08 +03:00
2021-09-06 19:25:36 +02:00
2021-09-07 01:18:02 +02:00
2021-09-07 13:53:14 +02:00
2021-09-07 20:15:15 +01:00
2021-09-07 15:36:39 +02:00
2021-09-07 13:16:01 +02:00
2021-09-07 22:16:25 +02:00
2021-09-07 22:16:25 +02:00
2021-09-09 21:25:10 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 15:54:23 +02:00
2021-09-07 13:53:14 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 13:53:14 +02:00
2021-09-07 22:16:25 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 01:18:02 +02:00
2021-09-07 01:18:02 +02:00
2021-09-07 13:53:14 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 13:53:14 +02:00
2021-09-07 14:48:13 +02:00
2021-09-07 22:16:25 +02:00
2021-09-10 18:05:46 +03:00
2021-09-07 13:53:14 +02:00
2021-09-07 13:53:14 +02:00
2021-09-07 13:53:14 +02:00
2021-09-10 18:05:46 +03:00