From 17ceb870803b5f1a605224c014df0da6cf48dce6 Mon Sep 17 00:00:00 2001 From: Justin Husted Date: Sat, 5 Jun 2021 01:50:16 -0700 Subject: [PATCH] Implement iterator_put in fuse bcachefs_fuse_setattr and inode_updates_times need to explicitly call iter_put (the API changed a while back). Signed-off-by: Justin Husted --- cmd_fusemount.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd_fusemount.c b/cmd_fusemount.c index 54bc76cd..2b6b2d7e 100644 --- a/cmd_fusemount.c +++ b/cmd_fusemount.c @@ -212,6 +212,7 @@ retry: bch2_trans_commit(&trans, NULL, NULL, BTREE_INSERT_NOFAIL); err: + bch2_trans_iter_put(&trans, iter); if (ret == -EINTR) goto retry; @@ -548,6 +549,7 @@ retry: BTREE_INSERT_NOFAIL); err: + bch2_trans_iter_put(&trans, iter); if (ret == -EINTR) goto retry;