Skip to content

Commit 45312bd

Browse files
committed
Merge tag 'zonefs-5.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs
Pull zonefs fix from Damien Le Moal: "A single patch to remove an unnecessary NULL bio check (from Xianting)" * tag 'zonefs-5.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs: zonefs: remove redundant null bio check
2 parents 786cb0a + 2f53d15 commit 45312bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

fs/zonefs/super.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -705,9 +705,6 @@ static ssize_t zonefs_file_dio_append(struct kiocb *iocb, struct iov_iter *from)
705705
return 0;
706706

707707
bio = bio_alloc(GFP_NOFS, nr_pages);
708-
if (!bio)
709-
return -ENOMEM;
710-
711708
bio_set_dev(bio, bdev);
712709
bio->bi_iter.bi_sector = zi->i_zsector;
713710
bio->bi_write_hint = iocb->ki_hint;

0 commit comments

Comments
 (0)