mbox series

[v2,0/4] xfs: random fixes for disk quota

Message ID 1601126073-32453-1-git-send-email-kaixuxia@tencent.com (mailing list archive)
Headers show
Series xfs: random fixes for disk quota | expand

Message

Kaixu Xia Sept. 26, 2020, 1:14 p.m. UTC
From: Kaixu Xia <kaixuxia@tencent.com>

Hi all,

This patchset include random fixes and code cleanups for disk quota.
In order to make it easier to track, I bundle them up and put all
the scattered patches into a single patchset.

Changes for v2: 
 -add the ASSERT for the arguments O_{u,g,p}dqpp.
 -fix the strange indent.
 -remove the XFS_TRANS_DQ_DIRTY flag.
 -add more commit log description for delta judgement.

Kaixu Xia (4):
  xfs: do the ASSERT for the arguments O_{u,g,p}dqpp
  xfs: fix the indent in xfs_trans_mod_dquot
  xfs: check tp->t_dqinfo value instead of the XFS_TRANS_DQ_DIRTY flag
  xfs: directly return if the delta equal to zero

 fs/xfs/libxfs/xfs_shared.h |  1 -
 fs/xfs/xfs_inode.c         |  8 +---
 fs/xfs/xfs_qm.c            |  3 ++
 fs/xfs/xfs_trans_dquot.c   | 75 ++++++++++++--------------------------
 4 files changed, 27 insertions(+), 60 deletions(-)