From: Julian Stecklina
Port romfs from to the new initrd_fs_detect API. There are no
functional changes.
Signed-off-by: Julian Stecklina
---
fs/romfs/Makefile | 4
fs/romfs/initrd.c | 22 ++
init/do_mounts_rd.c | 14 --
3 files changed, 26 insertions(+
From: Julian Stecklina
Writing the ASCII spinner probably costs more cycles than copying the
block of data on some output devices if you output to serial and in
all other cases it rotates at lightspeed in 2025.
Signed-off-by: Julian Stecklina
---
init/do_mounts_rd.c | 11 ---
1 file ch
From: Julian Stecklina
So far all filesystems that are supported as initrd have their
filesystem detection code implemented in init/do_mounts_rd.c. A better
approach is to let filesystem implementations register a detection
hook. This allows the filesystem detection code to live with the rest
of
From: Julian Stecklina
Port minix to the new initrd_fs_detect API. There are no functional
changes.
This code only supports the minix filesystem v1. This means 64 MiB
filesystem size limit. This would be a good candidate to drop support
for.
Signed-off-by: Julian Stecklina
---
fs/minix/Makefi
From: Julian Stecklina
Port squashfs from to the new initrd_fs_detect API. There are no
functional changes.
Signed-off-by: Julian Stecklina
---
fs/squashfs/Makefile | 5 +
fs/squashfs/initrd.c | 23 +++
init/do_mounts_rd.c | 14 --
3 files changed, 28 inse
From: Julian Stecklina
Allow erofs to be used as a filesystem for initrds. It offers similar
advantages as squashfs, but with higher performance and arguably nicer
tooling. If we support squashfs, there is no reason not to support
erofs as well.
Suggested-by: Niklas Sturm
Signed-off-by: Julian
From: Julian Stecklina
Port cramfs to the new initrd_fs_detect API. There are no functional
changes.
Signed-off-by: Julian Stecklina
---
fs/cramfs/Makefile | 5 +
fs/cramfs/initrd.c | 41 +
init/do_mounts_rd.c | 28 ++--
3
On my journey towards adding erofs support for initrd, Al Viro
suggested to move the filesystem detection code into the respective
filesystem modules. This patch series implements this, while also
adding erofs support.
To achieve this, I added a macro initrd_fs_detect() that allows
filesystem modu
From: Julian Stecklina
Port ext2fs to the new initrd_fs_detect API. There are minor
functional changes, because I thought that relying on a 16-bit magic
number alone is too error-prone. I also removed ext2_image_size from
linux/ext2_fs.h, because the initrd code is the only user.
Given that both
From: Julian Stecklina
When you actually take the exit via devblocks == 0, the code will do
fput(in_file) twice. This was introduced when the APIs where switched
to the file-based APIs.
Remove more of the multi-floppy support from the olden days.
Fixes: bef173299613 ("initrd: switch initrd load
10 matches
Mail list logo