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/strace | |
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/strace')
0 files changed, 0 insertions, 0 deletions