diff options
author | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:48:47 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-06-21 01:48:47 -0400 |
commit | 06d10dd9ca70ff1318ff2b871ff5f61a94223d9f (patch) | |
tree | 5ce06a8dc60a7ee78183e5b97a3565ac10424ea1 /fs/xfs/xfs_vnodeops.c | |
parent | 77bc5beb5977a166e41b87c9d55d8e9cf2b3a04f (diff) |
[XFS] Merge fixes into realtime quota code, since one/two reported, still
not enabled though.
SGI-PV: 938145
SGI-Modid: xfs-linux:xfs-kern:22900a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index d64ebcfa0b6c..1377c868f3f4 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -4175,9 +4175,8 @@ retry: | |||
4175 | break; | 4175 | break; |
4176 | } | 4176 | } |
4177 | xfs_ilock(ip, XFS_ILOCK_EXCL); | 4177 | xfs_ilock(ip, XFS_ILOCK_EXCL); |
4178 | error = XFS_TRANS_RESERVE_QUOTA_BYDQUOTS(mp, tp, | 4178 | error = XFS_TRANS_RESERVE_QUOTA(mp, tp, |
4179 | ip->i_udquot, ip->i_gdquot, resblks, 0, rt ? | 4179 | ip->i_udquot, ip->i_gdquot, resblks, 0, 0); |
4180 | XFS_QMOPT_RES_RTBLKS : XFS_QMOPT_RES_REGBLKS); | ||
4181 | if (error) | 4180 | if (error) |
4182 | goto error1; | 4181 | goto error1; |
4183 | 4182 | ||