summaryrefslogtreecommitdiff
path: root/libbcachefs/quota.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-09-25 22:28:34 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2022-09-28 11:41:03 -0400
commit99caca2c70f312c4a2504a7e7a9c92a91426d885 (patch)
tree6ac490ba2a93cf0c74f16b54323beea4d254826d /libbcachefs/quota.c
parent7af94e14b5a9945c28a3c34e58b920e81c696a53 (diff)
Update bcachefs sources to 24c6361e20 bcachefs: Fix a trans path overflow in bch2_btree_delete_range_trans()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/quota.c')
-rw-r--r--libbcachefs/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/quota.c b/libbcachefs/quota.c
index 454c76e0..c12d715f 100644
--- a/libbcachefs/quota.c
+++ b/libbcachefs/quota.c
@@ -665,7 +665,7 @@ static int bch2_quota_set_info(struct super_block *sb, int type,
sb_quota = bch2_sb_resize_quota(&c->disk_sb,
sizeof(*sb_quota) / sizeof(u64));
if (!sb_quota)
- return -ENOSPC;
+ return -BCH_ERR_ENOSPC_sb_quota;
}
if (info->i_fieldmask & QC_SPC_TIMER)