]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_vnodeops.c
[PATCH] blk: Use blk_queue_xxx functions to set parameters
[linux-2.6] / fs / xfs / xfs_vnodeops.c
index d64ebcfa0b6ceb15bee47d77004b5d78442267a5..1377c868f3f4929aec4106f187b01c03f480c433 100644 (file)
@@ -4175,9 +4175,8 @@ retry:
                        break;
                }
                xfs_ilock(ip, XFS_ILOCK_EXCL);
-               error = XFS_TRANS_RESERVE_QUOTA_BYDQUOTS(mp, tp,
-                               ip->i_udquot, ip->i_gdquot, resblks, 0, rt ?
-                               XFS_QMOPT_RES_RTBLKS : XFS_QMOPT_RES_REGBLKS);
+               error = XFS_TRANS_RESERVE_QUOTA(mp, tp,
+                               ip->i_udquot, ip->i_gdquot, resblks, 0, 0);
                if (error)
                        goto error1;