Liav A
c88cc8557f
Kernel/FileSystem: Make Inode::{write,read}_bytes methods non-virtual
...
We make these methods non-virtual because we want to ensure we properly
enforce locking of the m_inode_lock mutex. Also, for write operations,
we want to call prepare_to_write_data before the actual write. The
previous design required us to ensure the callers do that at various
places which lead to hard-to-find bugs. By moving everything to a place
where we call prepare_to_write_data only once, we eliminate a possibilty
of forgeting to call it on some code path in the kernel.
2022-09-16 14:55:45 +03:00
..
2022-08-22 17:56:03 +02:00
2022-08-24 14:57:51 +02:00
2022-08-24 14:57:51 +02:00
2022-07-12 00:55:31 +01:00
2022-07-22 23:09:43 +01:00
2022-08-21 12:25:14 +02:00
2022-08-21 12:25:14 +02:00
2022-07-22 23:09:43 +01:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-01-07 15:44:42 +01:00
2021-04-22 11:22:27 +02:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-08-20 17:20:43 +02:00
2022-08-20 17:20:43 +02:00
2022-08-24 14:57:51 +02:00
2022-08-24 14:57:51 +02:00
2022-03-17 00:51:36 -07:00
2022-08-20 17:20:43 +02:00
2022-08-20 17:20:43 +02:00
2022-08-20 17:20:43 +02:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-08-24 14:57:51 +02:00
2022-07-22 23:09:43 +01:00
2022-08-21 16:02:24 +02:00
2022-08-21 16:02:24 +02:00
2022-08-20 17:20:43 +02:00
2022-08-20 17:20:43 +02:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-08-21 12:25:14 +02:00
2022-08-21 12:25:14 +02:00
2022-08-24 14:57:51 +02:00
2022-08-24 14:57:51 +02:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-09-16 14:55:45 +03:00
2022-02-16 22:21:37 +01:00
2022-09-16 14:55:45 +03:00
2022-08-21 16:02:24 +02:00