diff options
author | Chao Yu <[email protected]> | 2019-06-20 11:36:14 +0800 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2019-07-02 15:40:41 -0700 |
commit | 10f966bbf521bb9b2e497bbca496a5141f4071d0 (patch) | |
tree | 828ab169692133b6220c3a547631349c0a0cbced /scripts/gen_compile_commands.py | |
parent | f91108b801ad7d7668c95841f4cb76494b2a9c8a (diff) |
f2fs: use generic EFSBADCRC/EFSCORRUPTED
f2fs uses EFAULT as error number to indicate filesystem is corrupted
all the time, but generic filesystems use EUCLEAN for such condition,
we need to change to follow others.
This patch adds two new macros as below to wrap more generic error
code macros, and spread them in code.
EFSBADCRC EBADMSG /* Bad CRC detected */
EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */
Reported-by: Pavel Machek <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions