mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
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 <sigstop@gmail.com>
This commit is contained in:
parent
1cddbe95f9
commit
17ceb87080
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user