diff options
| author | Dan Carpenter <[email protected]> | 2020-10-23 11:22:32 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-12-17 18:30:32 +0000 |
| commit | bc18546bf68e47996a359d2533168d5770a22024 (patch) | |
| tree | 6662d764d18e9b3a5f9b59aea754a10c4b7f5cec /fs/ext4/fast_commit.c | |
| parent | ext4: check for invalid block size early when mounting a file system (diff) | |
| download | kernel-bc18546bf68e47996a359d2533168d5770a22024.tar.gz kernel-bc18546bf68e47996a359d2533168d5770a22024.zip | |
ext4: fix an IS_ERR() vs NULL check
The ext4_find_extent() function never returns NULL, it returns error
pointers.
Fixes: 44059e503b03 ("ext4: fast commit recovery path")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/20201023112232.GB282278@mwanda
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
