bcachefs: Fix a memory leak in the dio write path
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 14 Jul 2021 04:14:45 +0000 (00:14 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:08 +0000 (17:09 -0400)
commit5468f1195dcfb9256b46484822dde31c9ec0af1e
tree445567efd454a388c9bd8933f0ce3d8914090a47
parent996fb577fdff69b1e5a72d7ca0f152ff7bb42bc8
bcachefs: Fix a memory leak in the dio write path

There were some error paths where we were leaking page refs - oops.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c