]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86c6c074e37277d551c9c44d115b2edd6dfca2c5
tree06f25495fc9be925b75041eed2f967202e29aacd
parentb1b49cbcf8bd66059ed6f80c573a7ff83991d8ef
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