diff options
author | Daniel Schultz <d.schultz@phytec.de> | 2017-03-20 13:18:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-22 11:35:21 +0000 |
commit | f38c551e6e890dd997aba96b4e43736798bd4424 (patch) | |
tree | c62c98bcb88768582a08240f378dbebae8829a73 /meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | |
parent | ab34d087727cc393fe276bfca64a2a6afd80eed2 (diff) | |
download | poky-f38c551e6e890dd997aba96b4e43736798bd4424.tar.gz |
e2fsprogs: Fix wrong error code after optimization
fsck.ext will return an error code of 1 if a file systems was checked
and successfully repaired. Even when an optimization was performed it
will return this error code.
This patch will change the error code to 0 if only optimizations had
changed the file systems.
The reason for this patch is a question I asked at the ext4 ML:
http://www.spinics.net/lists/linux-ext4/msg55700.html
Backport from git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
Based on commit bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd
(From OE-Core rev: 8341ee45d721cf07b19d50c249bb3a77ef1bf100)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb index 153b3a15ce..5216c7027c 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb | |||
@@ -9,6 +9,7 @@ SRC_URI += "file://acinclude.m4 \ | |||
9 | file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ | 9 | file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ |
10 | file://e2fsprogs-1.43-sysmacros.patch \ | 10 | file://e2fsprogs-1.43-sysmacros.patch \ |
11 | file://mkdir_p.patch \ | 11 | file://mkdir_p.patch \ |
12 | file://0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" | 15 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" |