diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-01-31 22:52:08 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 09:15:07 -0500 |
commit | 05e0a60d8025e280e56b3fa36ea8facc7c1c65c2 (patch) | |
tree | 4d7d6cc9303a35ba910359d779b0977aa16d15f0 /fs/gfs2/incore.h | |
parent | ed87dabcc3fc0a5040f95dd3f7206cffebca5c79 (diff) |
gfs2: Store qd_id in struct gfs2_quota_data as a struct kqid
- Change qd_id in struct gfs2_qutoa_data to struct kqid.
- Remove the now unnecessary QDF_USER bit field in qd_flags.
- Propopoage this change through the code generally making
things simpler along the way.
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index c373a24fedd9..5b298bdab90c 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -391,7 +391,6 @@ struct gfs2_revoke_replay { | |||
391 | }; | 391 | }; |
392 | 392 | ||
393 | enum { | 393 | enum { |
394 | QDF_USER = 0, | ||
395 | QDF_CHANGE = 1, | 394 | QDF_CHANGE = 1, |
396 | QDF_LOCKED = 2, | 395 | QDF_LOCKED = 2, |
397 | QDF_REFRESH = 3, | 396 | QDF_REFRESH = 3, |
@@ -403,7 +402,7 @@ struct gfs2_quota_data { | |||
403 | 402 | ||
404 | atomic_t qd_count; | 403 | atomic_t qd_count; |
405 | 404 | ||
406 | u32 qd_id; | 405 | struct kqid qd_id; |
407 | unsigned long qd_flags; /* QDF_... */ | 406 | unsigned long qd_flags; /* QDF_... */ |
408 | 407 | ||
409 | s64 qd_change; | 408 | s64 qd_change; |