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