]> git.sesse.net Git - bcachefs-tools-debian/commit
cmd_migrate: fix write_data()
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 20 Dec 2023 00:17:19 +0000 (19:17 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 20 Dec 2023 00:17:21 +0000 (19:17 -0500)
commit3233d8a0c460fc9627963658ac59edc5b6186e72
tree2a8e63ad0c216f4193138e4f87b6692b3f403800
parentf2cb831b993dd44bcab08d43038a0f2843569b9f
cmd_migrate: fix write_data()

passing a parent closure is totally unnecessary when using
BCH_WRITE_SYNC - and pops an assert in debug mode, because the write
path no longer supports delivering completions that way.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
cmd_migrate.c