Re: [PATCH v3 6/6] xfs: kill ialloced in xfs_dialloc()

Christoph Hellwig
2020-12-07T13:58:03Z

> + error = xfs_ialloc_ag_alloc(*tpp, agbp);
> + if (error < 0) {
> xfs_trans_brelse(*tpp, agbp);
>
> if (error == -ENOSPC)
> error = 0;
> break;
> + } else if (error == 0) {

No need for the else after the break.