aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-06-21 15:57:57 +1000
committerNathan Scott <nathans@sgi.com>2005-06-21 15:57:57 +1000
commitad89d0212e32c5cf27dfcbad67b91a32b9878529 (patch)
tree67cc01b65201f7356a52c91bfd83dad92181be7f /fs
parent[XFS] Merge a few minor fixes to the quota warning code. (diff)
downloadlinux-dev-ad89d0212e32c5cf27dfcbad67b91a32b9878529.tar.xz
linux-dev-ad89d0212e32c5cf27dfcbad67b91a32b9878529.zip
[XFS] Remove some debugging code from quota syscalls.
SGI-PV: 932952 SGI-Modid: xfs-linux-melb:xfs-kern:22929a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/quota/xfs_dquot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c
index 32ec7f4467d7..46ce1e3ce1d6 100644
--- 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\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);
}
/*