diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-04 19:24:13 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-04 19:24:13 -0500 |
commit | 304691592738dc272f4150107b54a53ab43fc8be (patch) | |
tree | 2ea58d8794c4b41dc66a0add3690c59c583de207 /libbcachefs/quota.c | |
parent | abbe66b6a5051027fd63b2a4cd4cb1d4b09410f6 (diff) |
Update bcachefs sources to c9eb15545d bcachefs: Don't call trans_iter_put() on error pointer
Diffstat (limited to 'libbcachefs/quota.c')
-rw-r--r-- | libbcachefs/quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/quota.c b/libbcachefs/quota.c index 0fa6f33c..e7787c50 100644 --- a/libbcachefs/quota.c +++ b/libbcachefs/quota.c @@ -752,7 +752,7 @@ static int bch2_set_quota(struct super_block *sb, struct kqid qid, if (qdq->d_fieldmask & QC_INO_HARD) new_quota.v.c[Q_INO].hardlimit = cpu_to_le64(qdq->d_ino_hardlimit); - bch2_trans_update(&trans, iter, &new_quota.k_i); + bch2_trans_update(&trans, iter, &new_quota.k_i, 0); ret = bch2_trans_commit(&trans, NULL, NULL, 0); |