mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 01:50:54 +07:00
xfs: fix the indent in xfs_trans_mod_dquot
The formatting is strange in xfs_trans_mod_dquot, so do a reindent. Signed-off-by: Kaixu Xia <kaixuxia@tencent.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
97611f9366
commit
e5b23740db
@ -221,24 +221,17 @@ xfs_trans_mod_dquot(
|
||||
}
|
||||
|
||||
switch (field) {
|
||||
|
||||
/*
|
||||
* regular disk blk reservation
|
||||
*/
|
||||
/* regular disk blk reservation */
|
||||
case XFS_TRANS_DQ_RES_BLKS:
|
||||
qtrx->qt_blk_res += delta;
|
||||
break;
|
||||
|
||||
/*
|
||||
* inode reservation
|
||||
*/
|
||||
/* inode reservation */
|
||||
case XFS_TRANS_DQ_RES_INOS:
|
||||
qtrx->qt_ino_res += delta;
|
||||
break;
|
||||
|
||||
/*
|
||||
* disk blocks used.
|
||||
*/
|
||||
/* disk blocks used. */
|
||||
case XFS_TRANS_DQ_BCOUNT:
|
||||
qtrx->qt_bcount_delta += delta;
|
||||
break;
|
||||
@ -247,9 +240,7 @@ xfs_trans_mod_dquot(
|
||||
qtrx->qt_delbcnt_delta += delta;
|
||||
break;
|
||||
|
||||
/*
|
||||
* Inode Count
|
||||
*/
|
||||
/* Inode Count */
|
||||
case XFS_TRANS_DQ_ICOUNT:
|
||||
if (qtrx->qt_ino_res && delta > 0) {
|
||||
qtrx->qt_ino_res_used += delta;
|
||||
@ -258,16 +249,12 @@ xfs_trans_mod_dquot(
|
||||
qtrx->qt_icount_delta += delta;
|
||||
break;
|
||||
|
||||
/*
|
||||
* rtblk reservation
|
||||
*/
|
||||
/* rtblk reservation */
|
||||
case XFS_TRANS_DQ_RES_RTBLKS:
|
||||
qtrx->qt_rtblk_res += delta;
|
||||
break;
|
||||
|
||||
/*
|
||||
* rtblk count
|
||||
*/
|
||||
/* rtblk count */
|
||||
case XFS_TRANS_DQ_RTBCOUNT:
|
||||
if (qtrx->qt_rtblk_res && delta > 0) {
|
||||
qtrx->qt_rtblk_res_used += delta;
|
||||
|
Loading…
Reference in New Issue
Block a user