diff options
author | Abhijith Das <adas@redhat.com> | 2007-05-16 18:02:19 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 03:22:26 -0400 |
commit | 2a87ab080607d009b8b2a8706f4e27d70402ca9c (patch) | |
tree | 5da4f0b18db776e83797307c9d479e8b6585a776 /fs/gfs2/incore.h | |
parent | dbb7cae2a36170cd17ffbe286ec0c91a998740ff (diff) |
[GFS2] Quotas non-functional - fix bug
This patch fixes an error in the quota code where a 'struct
gfs2_quota_lvb*' was being passed to gfs2_adjust_quota() instead of a
'struct gfs2_quota_data*'. Also moved 'struct gfs2_quota_lvb' from
fs/gfs2/incore.h to include/linux/gfs2_ondisk.h as per Steve's suggestion.
Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 00c3004a4c22..b2079fcd2513 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -275,14 +275,6 @@ enum { | |||
275 | QDF_LOCKED = 2, | 275 | QDF_LOCKED = 2, |
276 | }; | 276 | }; |
277 | 277 | ||
278 | struct gfs2_quota_lvb { | ||
279 | __be32 qb_magic; | ||
280 | u32 __pad; | ||
281 | __be64 qb_limit; /* Hard limit of # blocks to alloc */ | ||
282 | __be64 qb_warn; /* Warn user when alloc is above this # */ | ||
283 | __be64 qb_value; /* Current # blocks allocated */ | ||
284 | }; | ||
285 | |||
286 | struct gfs2_quota_data { | 278 | struct gfs2_quota_data { |
287 | struct list_head qd_list; | 279 | struct list_head qd_list; |
288 | unsigned int qd_count; | 280 | unsigned int qd_count; |