zonefs: remove redundant null bio check
authorXianting Tian <xianting.tian@linux.alibaba.com>
Wed, 30 Jun 2021 14:33:36 +0000 (10:33 -0400)
committerDamien Le Moal <damien.lemoal@wdc.com>
Fri, 16 Jul 2021 04:45:18 +0000 (13:45 +0900)
commit2f53d15cf95824ed320abed3c33759b8b21aca15
tree06f25495fc9be925b75041eed2f967202e29aacd
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
zonefs: remove redundant null bio check

bio_alloc() with __GFP_DIRECT_RECLAIM, which is included in
GFP_NOFS, never fails, see comments in bio_alloc_bioset().

Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
fs/zonefs/super.c