aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-12-14 11:53:00 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-12-14 11:53:00 -0800
commitbdb2701f0b6822d711ec34968ccef70b73a91da7 (patch)
tree98520ebdf7acc0299fc9f0471fb0bc8b5403a160 /fs/btrfs/transaction.c
parentsign-file: Fix incorrect return values check (diff)
parentbtrfs: ensure releasing squota reserve on head refs (diff)
downloadlinux-bdb2701f0b6822d711ec34968ccef70b73a91da7.tar.gz
linux-bdb2701f0b6822d711ec34968ccef70b73a91da7.tar.bz2
linux-bdb2701f0b6822d711ec34968ccef70b73a91da7.zip
Merge tag 'for-6.7-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba: "Some fixes to quota accounting code, mostly around error handling and correctness: - free reserves on various error paths, after IO errors or transaction abort - don't clear reserved range at the folio release time, it'll be properly cleared after final write - fix integer overflow due to int used when passing around size of freed reservations - fix a regression in squota accounting that missed some cases with delayed refs" * tag 'for-6.7-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: btrfs: ensure releasing squota reserve on head refs btrfs: don't clear qgroup reserved bit in release_folio btrfs: free qgroup pertrans reserve on transaction abort btrfs: fix qgroup_free_reserved_data int overflow btrfs: free qgroup reserve when ORDERED_IOERR is set
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index bfc0eb5e3b7c..5b3333ceef04 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -37,8 +37,6 @@
static struct kmem_cache *btrfs_trans_handle_cachep;
-#define BTRFS_ROOT_TRANS_TAG 0
-
/*
* Transaction states and transitions
*