projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
283cca3
)
bcachefs: Fix an error path
author
Kent Overstreet
<kent.overstreet@gmail.com>
Thu, 15 Nov 2018 02:53:25 +0000
(21:53 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:11 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs-io.c
b/fs/bcachefs/fs-io.c
index eecf792198e4404fcc6e38ea1c3f9d09f764f44a..a65e6a6d54e720d95773de6a614432e4a2c985cc 100644
(file)
--- a/
fs/bcachefs/fs-io.c
+++ b/
fs/bcachefs/fs-io.c
@@
-2542,10
+2542,9
@@
static long bch2_fallocate(struct bch_inode_info *inode, int mode,
&disk_res, "a_res,
iter, &reservation.k_i,
0, true, true, NULL);
-
+btree_iter_err:
bch2_quota_reservation_put(c, inode, "a_res);
bch2_disk_reservation_put(c, &disk_res);
-btree_iter_err:
if (ret == -EINTR)
ret = 0;
if (ret)