Files
serenity/Kernel/FileSystem/FATFS/Inode.cpp
implicitfield 9a66ea24e3 Kernel/FATFS: Compute cluster lists somewhat lazily
Now we no longer compute the cluster list at the exact moment when an
in-memory inode is created, but rather defer doing that until we
actually need the cluster list. This distinction is important when
traversing directories, as we *are* interested in the inode, but not
really in its contents (though now we do have to resort to using the
file size to approximate the amount of allocated blocks, but this
shouldn't be an issue when working with well-formed filesystems.)
2025-03-13 21:41:18 +01:00

39 KiB