diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-03-04 01:21:11 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-06 01:13:11 -0400 |
commit | aaae558dae6f804407a50e0eaf66c93b46b9a493 (patch) | |
tree | 6a9ecbf0b5197fcfb35b4ad63444aa531c887bac /fs/jfs | |
parent | 285164b80175157c18a06425cf25591c9f942b1a (diff) |
ext4: remove unnecessary check in ext4_mb_new_blocks
1. remove unnecessary ac check:
We always go to out tag before ac is successfully allocated, then we can
move out tag after free of ac and remove NULL check of ac.
2. remove unnecessary *errp check:
We always go to errout tag if *errp is non-zero, then we can move errout
tag into error handle if *errp is non-zero.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://lore.kernel.org/r/20230303172120.3800725-12-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions