aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-06-21 01:57:57 -0400
committerNathan Scott <nathans@sgi.com>2005-06-21 01:57:57 -0400
commitad89d0212e32c5cf27dfcbad67b91a32b9878529 (patch)
tree67cc01b65201f7356a52c91bfd83dad92181be7f /fs/xfs
parent754002b4fb1b553bd8f978bb6f5aca7af46fde67 (diff)
[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/xfs')
-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(
911 if ((! XFS_IS_UQUOTA_ON(mp) && type == XFS_DQ_USER) || 911 if ((! XFS_IS_UQUOTA_ON(mp) && type == XFS_DQ_USER) ||
912 (! XFS_IS_PQUOTA_ON(mp) && type == XFS_DQ_PROJ) || 912 (! XFS_IS_PQUOTA_ON(mp) && type == XFS_DQ_PROJ) ||
913 (! XFS_IS_GQUOTA_ON(mp) && type == XFS_DQ_GROUP)) { 913 (! XFS_IS_GQUOTA_ON(mp) && type == XFS_DQ_GROUP)) {
914printk("XQM: ESRCH1\n");
915 return (ESRCH); 914 return (ESRCH);
916 } 915 }
917 h = XFS_DQ_HASH(mp, id, type); 916 h = XFS_DQ_HASH(mp, id, type);
@@ -989,7 +988,6 @@ printk("XQM: ESRCH1\n");
989 &dqp))) { 988 &dqp))) {
990 if (ip) 989 if (ip)
991 xfs_ilock(ip, XFS_ILOCK_EXCL); 990 xfs_ilock(ip, XFS_ILOCK_EXCL);
992if (error == ESRCH) printk("XQM: ESRCH2\n");
993 return (error); 991 return (error);
994 } 992 }
995 993
@@ -1015,7 +1013,6 @@ if (error == ESRCH) printk("XQM: ESRCH2\n");
1015 if (! XFS_IS_DQTYPE_ON(mp, type)) { 1013 if (! XFS_IS_DQTYPE_ON(mp, type)) {
1016 /* inode stays locked on return */ 1014 /* inode stays locked on return */
1017 xfs_qm_dqdestroy(dqp); 1015 xfs_qm_dqdestroy(dqp);
1018printk("XQM: ESRCH3\n");
1019 return XFS_ERROR(ESRCH); 1016 return XFS_ERROR(ESRCH);
1020 } 1017 }
1021 /* 1018 /*