summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/alloc_background.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-02 20:36:00 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 11:47:39 -0500
commitcb13f471390ce646a3d5aa9c599f7eec43ddb2ac (patch)
treee87b58b4262077646b4bfd5f8a83aaeed74f4ed9 /fs/bcachefs/alloc_background.c
parentd3083cf28d54991c299d5c05790e40e52cf75df0 (diff)
downloadlinux-cb13f471390ce646a3d5aa9c599f7eec43ddb2ac.tar.gz
linux-cb13f471390ce646a3d5aa9c599f7eec43ddb2ac.tar.bz2
linux-cb13f471390ce646a3d5aa9c599f7eec43ddb2ac.zip
bcachefs: bch2_btree_write_buffer_flush() -> bch2_btree_write_buffer_tryflush()
More accurate naming. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_background.c')
-rw-r--r--fs/bcachefs/alloc_background.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.c b/fs/bcachefs/alloc_background.c
index fc8555df89c8..ccc3779dd366 100644
--- a/fs/bcachefs/alloc_background.c
+++ b/fs/bcachefs/alloc_background.c
@@ -1817,7 +1817,7 @@ static void bch2_do_invalidates_work(struct work_struct *work)
unsigned i;
int ret = 0;
- ret = bch2_btree_write_buffer_flush(trans);
+ ret = bch2_btree_write_buffer_tryflush(trans);
if (ret)
goto err;