diff options
author | Kohei Enju <enjuk@amazon.com> | 2025-02-02 13:32:53 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-02-06 18:34:43 +0000 |
commit | 53333cdf5b03870a8ed4f8d434bd98b3d6771d5f (patch) | |
tree | bdff08031bcbb1d93199ebe2e0b8fb2861a8c2bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 21925ede449e038ed6f9efdfe0e79f15bddc34bc (diff) |
f2fs: remove unnecessary null checking
When __GFP_DIRECT_RECLAIM (included in both GFP_NOIO and GFP_KERNEL) is
specified, bio_alloc_bioset() never fails to allocate a bio.
Commit 67883ade7a98 ("f2fs: remove FAULT_ALLOC_BIO") replaced
f2fs_bio_alloc() with bio_alloc_bioset(), but null checking after
bio_alloc_bioset() was still left.
Fixes: 67883ade7a98 ("f2fs: remove FAULT_ALLOC_BIO")
Signed-off-by: Kohei Enju <enjuk@amazon.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions