diff options
author | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:57:57 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:57:57 -0400 |
commit | ad89d0212e32c5cf27dfcbad67b91a32b9878529 (patch) | |
tree | 67cc01b65201f7356a52c91bfd83dad92181be7f /fs/xfs/quota | |
parent | 754002b4fb1b553bd8f978bb6f5aca7af46fde67 (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/quota')
-rw-r--r-- | fs/xfs/quota/xfs_dquot.c | 3 |
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)) { |
914 | printk("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); |
992 | if (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); |
1018 | printk("XQM: ESRCH3\n"); | ||
1019 | return XFS_ERROR(ESRCH); | 1016 | return XFS_ERROR(ESRCH); |
1020 | } | 1017 | } |
1021 | /* | 1018 | /* |