[XFS] Remove some debugging code from quota syscalls.
authorNathan Scott <nathans@sgi.com>
Tue, 21 Jun 2005 05:57:57 +0000 (15:57 +1000)
committerNathan Scott <nathans@sgi.com>
Tue, 21 Jun 2005 05:57:57 +0000 (15:57 +1000)
SGI-PV: 932952
SGI-Modid: xfs-linux-melb:xfs-kern:22929a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/quota/xfs_dquot.c

index 32ec7f4467d7fd39d4f9b4cd41621f59fe1b04f4..46ce1e3ce1d6c04c90b93ec46d86d2e4f64651fc 100644 (file)
@@ -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\n");
                if (! XFS_IS_DQTYPE_ON(mp, type)) {
                        /* inode stays locked on return */
                        xfs_qm_dqdestroy(dqp);
-printk("XQM: ESRCH3\n");
                        return XFS_ERROR(ESRCH);
                }
                /*