diff options
Diffstat (limited to 'fs/xfs/xfs_qm_syscalls.c')
-rw-r--r-- | fs/xfs/xfs_qm_syscalls.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_qm_syscalls.c b/fs/xfs/xfs_qm_syscalls.c index 8174aad0b388..fb6709191811 100644 --- a/fs/xfs/xfs_qm_syscalls.c +++ b/fs/xfs/xfs_qm_syscalls.c | |||
@@ -287,7 +287,7 @@ xfs_qm_scall_trunc_qfiles( | |||
287 | int error = 0, error2 = 0; | 287 | int error = 0, error2 = 0; |
288 | 288 | ||
289 | if (!xfs_sb_version_hasquota(&mp->m_sb) || flags == 0) { | 289 | if (!xfs_sb_version_hasquota(&mp->m_sb) || flags == 0) { |
290 | xfs_debug(mp, "%s: flags=%x m_qflags=%x\n", | 290 | xfs_debug(mp, "%s: flags=%x m_qflags=%x", |
291 | __func__, flags, mp->m_qflags); | 291 | __func__, flags, mp->m_qflags); |
292 | return XFS_ERROR(EINVAL); | 292 | return XFS_ERROR(EINVAL); |
293 | } | 293 | } |
@@ -325,7 +325,7 @@ xfs_qm_scall_quotaon( | |||
325 | sbflags = 0; | 325 | sbflags = 0; |
326 | 326 | ||
327 | if (flags == 0) { | 327 | if (flags == 0) { |
328 | xfs_debug(mp, "%s: zero flags, m_qflags=%x\n", | 328 | xfs_debug(mp, "%s: zero flags, m_qflags=%x", |
329 | __func__, mp->m_qflags); | 329 | __func__, mp->m_qflags); |
330 | return XFS_ERROR(EINVAL); | 330 | return XFS_ERROR(EINVAL); |
331 | } | 331 | } |
@@ -348,7 +348,7 @@ xfs_qm_scall_quotaon( | |||
348 | (mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && | 348 | (mp->m_sb.sb_qflags & XFS_PQUOTA_ACCT) == 0 && |
349 | (flags & XFS_PQUOTA_ENFD))) { | 349 | (flags & XFS_PQUOTA_ENFD))) { |
350 | xfs_debug(mp, | 350 | xfs_debug(mp, |
351 | "%s: Can't enforce without acct, flags=%x sbflags=%x\n", | 351 | "%s: Can't enforce without acct, flags=%x sbflags=%x", |
352 | __func__, flags, mp->m_sb.sb_qflags); | 352 | __func__, flags, mp->m_sb.sb_qflags); |
353 | return XFS_ERROR(EINVAL); | 353 | return XFS_ERROR(EINVAL); |
354 | } | 354 | } |
@@ -648,7 +648,7 @@ xfs_qm_scall_setqlim( | |||
648 | q->qi_bsoftlimit = soft; | 648 | q->qi_bsoftlimit = soft; |
649 | } | 649 | } |
650 | } else { | 650 | } else { |
651 | xfs_debug(mp, "blkhard %Ld < blksoft %Ld\n", hard, soft); | 651 | xfs_debug(mp, "blkhard %Ld < blksoft %Ld", hard, soft); |
652 | } | 652 | } |
653 | hard = (newlim->d_fieldmask & FS_DQ_RTBHARD) ? | 653 | hard = (newlim->d_fieldmask & FS_DQ_RTBHARD) ? |
654 | (xfs_qcnt_t) XFS_BB_TO_FSB(mp, newlim->d_rtb_hardlimit) : | 654 | (xfs_qcnt_t) XFS_BB_TO_FSB(mp, newlim->d_rtb_hardlimit) : |
@@ -664,7 +664,7 @@ xfs_qm_scall_setqlim( | |||
664 | q->qi_rtbsoftlimit = soft; | 664 | q->qi_rtbsoftlimit = soft; |
665 | } | 665 | } |
666 | } else { | 666 | } else { |
667 | xfs_debug(mp, "rtbhard %Ld < rtbsoft %Ld\n", hard, soft); | 667 | xfs_debug(mp, "rtbhard %Ld < rtbsoft %Ld", hard, soft); |
668 | } | 668 | } |
669 | 669 | ||
670 | hard = (newlim->d_fieldmask & FS_DQ_IHARD) ? | 670 | hard = (newlim->d_fieldmask & FS_DQ_IHARD) ? |
@@ -681,7 +681,7 @@ xfs_qm_scall_setqlim( | |||
681 | q->qi_isoftlimit = soft; | 681 | q->qi_isoftlimit = soft; |
682 | } | 682 | } |
683 | } else { | 683 | } else { |
684 | xfs_debug(mp, "ihard %Ld < isoft %Ld\n", hard, soft); | 684 | xfs_debug(mp, "ihard %Ld < isoft %Ld", hard, soft); |
685 | } | 685 | } |
686 | 686 | ||
687 | /* | 687 | /* |