diff options
author | Daniel Schultz <d.schultz@phytec.de> | 2017-04-05 14:48:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-29 16:50:52 +0100 |
commit | e6a1c94eef5fd6ce74806fe6bd64a05941add9cb (patch) | |
tree | 35430bff90583aa87e7eea0b31abe73d11245fb8 /meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb | |
parent | 604b2b2c6c0a9c09098fccf958c94ea7ba8b082b (diff) | |
download | poky-e6a1c94eef5fd6ce74806fe6bd64a05941add9cb.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: 34ccb6b66162400c3a3164cbdcca02fc1b42c92b)
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb index 5e30ec90b0..dcfb564a4b 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.bb | |||
@@ -10,6 +10,7 @@ SRC_URI += "file://acinclude.m4 \ | |||
10 | file://mkdir.patch \ | 10 | file://mkdir.patch \ |
11 | file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ | 11 | file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \ |
12 | file://mkdir_p.patch \ | 12 | file://mkdir_p.patch \ |
13 | file://0001-e2fsck-exit-with-exit-status-0-if-no-errors-were-fix.patch \ | ||
13 | " | 14 | " |
14 | 15 | ||
15 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" | 16 | SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch" |