tools: e2fsprogs: drop e2fsck patch
authorRobert Marko <robimarko@gmail.com>
Wed, 25 Sep 2024 12:56:12 +0000 (14:56 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 25 Sep 2024 17:53:13 +0000 (19:53 +0200)
After digging in the history of the e2fsck exit code patch, it seems like
there is no reason for us to carry this patch so lets drop it.

Link: https://github.com/openwrt/openwrt/pull/16500
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch [deleted file]

diff --git a/tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch b/tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch
deleted file mode 100644 (file)
index c94c609..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/e2fsck/e2fsck.h
-+++ b/e2fsck/e2fsck.h
-@@ -81,7 +81,7 @@
-  * Exit codes used by fsck-type programs
-  */
- #define FSCK_OK          0    /* No errors */
--#define FSCK_NONDESTRUCT 1    /* File system errors corrected */
-+#define FSCK_NONDESTRUCT 0    /* File system errors corrected */
- #define FSCK_REBOOT      2    /* System should be rebooted */
- #define FSCK_UNCORRECTED 4    /* File system errors left uncorrected */
- #define FSCK_ERROR       8    /* Operational error */