[XFS] Remove some debugging code from quota syscalls.

Linux Kernel Mailing List <[email protected]> Tue, 21 Jun 2005 20:11:19 -0700
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
tree 67cc01b65201f7356a52c91bfd83dad92181be7f
parent 754002b4fb1b553bd8f978bb6f5aca7af46fde67
author Nathan Scott <[email protected]> Tue, 21 Jun 2005 15:57:57 +1000
committer Nathan Scott <[email protected]> Tue, 21 Jun 2005 15:57:57 +1000

[XFS] Remove some debugging code from quota syscalls.

SGI-PV: 932952
SGI-Modid: xfs-linux-melb:xfs-kern:22929a

Signed-off-by: Nathan Scott <[email protected]>

 fs/xfs/quota/xfs_dquot.c |    3 ---
 1 files changed, 3 deletions(-)

diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c
--- a/fs/xfs/quota/xfs_dquot.c
+++ b/fs/xfs/quota/xfs_dquot.c
@@ -911,7 +911,6 @@ xfs_qm_dqget(
 	if ((! XFS_IS_UQUOTA_ON(mp) && type == XFS_DQ_USER) ||
 	    (! XFS_IS_PQUOTA_ON(mp) && type == XFS_DQ_PROJ) ||
 	    (! XFS_IS_GQUOTA_ON(mp) && type == XFS_DQ_GROUP)) {
-printk("XQM: ESRCH1\n");
 		return (ESRCH);
 	}
 	h = XFS_DQ_HASH(mp, id, type);
@@ -989,7 +988,6 @@ printk("XQM: ESRCH1\n");
 				  &dqp))) {
 		if (ip)
 			xfs_ilock(ip, XFS_ILOCK_EXCL);
-if (error == ESRCH) printk("XQM: ESRCH2\n");
 		return (error);
 	}
 
@@ -1015,7 +1013,6 @@ if (error == ESRCH) printk("XQM: ESRCH2\
 		if (! XFS_IS_DQTYPE_ON(mp, type)) {
 			/* inode stays locked on return */
 			xfs_qm_dqdestroy(dqp);
-printk("XQM: ESRCH3\n");
 			return XFS_ERROR(ESRCH);
 		}
 		/*