[PATCH v2 00/10] staging: exfat: Clean up return codes, revisited

From: Valdis Kletnieks
Date: Sun Nov 03 2019 - 20:45:48 EST


The rest of the conversion from internal error numbers to the
standard values used in the rest of the kernel.

Patch 10/10 is logically separate, merging multiple #defines
into one place in errno.h. It's included in the series because
it depends on patch 1/10.

Valdis Kletnieks (10):
staging: exfat: Clean up return codes - FFS_FORMATERR
staging: exfat: Clean up return codes - FFS_MEDIAERR
staging: exfat: Clean up return codes - FFS_EOF
staging: exfat: Clean up return codes - FFS_INVALIDFID
staging: exfat: Clean up return codes - FFS_ERROR
staging: exfat: Clean up return codes - remove unused codes
staging: exfat: Clean up return codes - FFS_SUCCESS
staging: exfat: Collapse redundant return code translations
staging: exfat: Correct return code
errno.h: Provide EFSCORRUPTED for everybody

drivers/staging/exfat/exfat.h | 14 --
drivers/staging/exfat/exfat_blkdev.c | 18 +-
drivers/staging/exfat/exfat_cache.c | 4 +-
drivers/staging/exfat/exfat_core.c | 202 +++++++++---------
drivers/staging/exfat/exfat_super.c | 293 +++++++++++----------------
fs/erofs/internal.h | 2 -
fs/ext4/ext4.h | 1 -
fs/f2fs/f2fs.h | 1 -
fs/xfs/xfs_linux.h | 1 -
include/linux/jbd2.h | 1 -
include/uapi/asm-generic/errno.h | 1 +
11 files changed, 228 insertions(+), 310 deletions(-)

--
2.24.0.rc1