init/initramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
FSM means "finite-state machine", but I think this is not obvious to
everyone.
Signed-off-by: Askar Safin <safinaskar@gmail.com>
---
init/initramfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/initramfs.c b/init/initramfs.c
index 139baed06..d29fe0a5c 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -212,7 +212,7 @@ static void __init parse_header(char *s)
hdr_csum = parsed[12];
}
-/* FSM */
+/* Finite-state machine */
static __initdata enum state {
Start,
base-commit: a1d9d8e833781c44ab688708804ce35f20f3cbbd (mainline)
--
2.47.3
On Thu, Mar 19, 2026 at 11:27:21PM +0000, Askar Safin wrote:
> FSM means "finite-state machine", but I think this is not obvious to
> everyone.
>
> Signed-off-by: Askar Safin <safinaskar@gmail.com>
> ---
> init/initramfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/initramfs.c b/init/initramfs.c
> index 139baed06..d29fe0a5c 100644
> --- a/init/initramfs.c
> +++ b/init/initramfs.c
> @@ -212,7 +212,7 @@ static void __init parse_header(char *s)
> hdr_csum = parsed[12];
> }
>
> -/* FSM */
...and here I thought all along that the initramfs code had been blessed
by the flying spaghetti monster! ;)
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
> +/* Finite-state machine */
>
> static __initdata enum state {
> Start,
>
> base-commit: a1d9d8e833781c44ab688708804ce35f20f3cbbd (mainline)
> --
> 2.47.3
>
>
On Fri, Mar 20, 2026 at 07:46:35AM -0700, Darrick J. Wong wrote: > On Thu, Mar 19, 2026 at 11:27:21PM +0000, Askar Safin wrote: > > FSM means "finite-state machine", but I think this is not obvious to > > everyone. > > > > Signed-off-by: Askar Safin <safinaskar@gmail.com> > > --- > > init/initramfs.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/init/initramfs.c b/init/initramfs.c > > index 139baed06..d29fe0a5c 100644 > > --- a/init/initramfs.c > > +++ b/init/initramfs.c > > @@ -212,7 +212,7 @@ static void __init parse_header(char *s) > > hdr_csum = parsed[12]; > > } > > > > -/* FSM */ > > ...and here I thought all along that the initramfs code had been blessed > by the flying spaghetti monster! ;) I've touched it a lot recently and the urge to massage it is getting stronger but I have too much other stuff to do...
On Thu, 19 Mar 2026 23:27:21 +0000, Askar Safin wrote:
> FSM means "finite-state machine", but I think this is not obvious to
> everyone.
Applied to the vfs-7.1.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.1.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.1.misc
[1/1] init/initramfs.c: trivial fix: FSM -> Finite-state machine
https://git.kernel.org/vfs/vfs/c/49e64d713636
© 2016 - 2026 Red Hat, Inc.