Whamcloud - gitweb
mke2fs: allow specifying the revision 1 via "-r 1"
authorTheodore Ts'o <tytso@mit.edu>
Tue, 3 Dec 2024 23:23:51 +0000 (18:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 3 Dec 2024 23:23:51 +0000 (18:23 -0500)
commitbb3b4c2265d1870d7efa4ad03e6a2eb649675255
tree4154049a64a072c381827e6631c9d42eb76dce16
parentecfd4dd1217a4145f7e4f07207c083fc16c63747
mke2fs: allow specifying the revision 1 via "-r 1"

The fsarchiver program unconditionally passes -r 1 even though it's
effectively a no-op.  To avoid commit 3fffe9dd6be5 breaking
fsarchiver, we'll silently allow the "-r 1" option instead of printing
an error and exiting.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c