From: Kaixu Xia <kaixuxia@xxxxxxxxxxx> 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(-) -- 2.20.0