diff options
author | Eric Whitney <enwlinux@gmail.com> | 2020-02-18 15:26:56 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-03-05 20:27:59 -0500 |
commit | f064a9d6e7dbd3473e9da0ffa1a91c08a032d747 (patch) | |
tree | 6802cf0f9d0472dbd262e551a8ce33eb31466280 /tools | |
parent | 780f66e59231fcf882f36c63f287252ee47cc75a (diff) | |
download | linux-f064a9d6e7dbd3473e9da0ffa1a91c08a032d747.tar.gz linux-f064a9d6e7dbd3473e9da0ffa1a91c08a032d747.tar.bz2 linux-f064a9d6e7dbd3473e9da0ffa1a91c08a032d747.zip |
ext4: clean up error return for convert_initialized_extent()
Although convert_initialized_extent() can potentially return an error
code with a negative value, its returned value is assigned to an
unsigned variable containing a block count in ext4_ext_map_blocks() and
then returned to that function's caller. The code currently works,
though the way this happens is obscure. The code would be more
readable if it followed the error handling convention used elsewhere
in ext4_ext_map_blocks().
This patch does not address any known test failure or bug report - it's
simply a cleanup. It also addresses a nearby coding standard issue.
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Link: https://lore.kernel.org/r/20200218202656.21561-1-enwlinux@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions