This patchset fixes 2 bugs:
1. Race condition leading to abort transaction
Reported by Filipe, fixed by 2nd patch.

2. Qgroup low level double free leading to EDQUOT
In fact, I hit such bug several times during internal rebase, but I'm so
stupid to forgot to include it in v3 patchset.
Fixed in 3rd patch.

Qu Wenruo (3):
  btrfs: Cleanup no_quota parameter
  btrfs: qgroup: Fix a race in delayed_ref which leads to abort trans
  btrfs: qgroup: Fix a rebase bug which will cause qgroup double free

 fs/btrfs/ctree.h       |  7 +++---
 fs/btrfs/delayed-ref.c | 48 ++++++++++++++++++++--------------------
 fs/btrfs/delayed-ref.h |  9 +++-----
 fs/btrfs/extent-tree.c | 55 ++++++++++++++++++---------------------------
 fs/btrfs/file.c        | 10 ++++-----
 fs/btrfs/inode.c       | 16 +++++---------
 fs/btrfs/ioctl.c       | 60 +-------------------------------------------------
 fs/btrfs/qgroup.c      |  4 ----
 fs/btrfs/relocation.c  | 16 ++++++--------
 fs/btrfs/tree-log.c    |  2 +-
 10 files changed, 73 insertions(+), 154 deletions(-)

-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to