diff options
Diffstat (limited to 'fs/xfs')
-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 | /* |