diff options
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 3d469d37345e..c373a24fedd9 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -205,7 +205,7 @@ struct lm_lockname { | |||
205 | 205 | ||
206 | 206 | ||
207 | struct gfs2_glock_operations { | 207 | struct gfs2_glock_operations { |
208 | void (*go_xmote_th) (struct gfs2_glock *gl); | 208 | void (*go_sync) (struct gfs2_glock *gl); |
209 | int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); | 209 | int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh); |
210 | void (*go_inval) (struct gfs2_glock *gl, int flags); | 210 | void (*go_inval) (struct gfs2_glock *gl, int flags); |
211 | int (*go_demote_ok) (const struct gfs2_glock *gl); | 211 | int (*go_demote_ok) (const struct gfs2_glock *gl); |
@@ -216,6 +216,7 @@ struct gfs2_glock_operations { | |||
216 | const int go_type; | 216 | const int go_type; |
217 | const unsigned long go_flags; | 217 | const unsigned long go_flags; |
218 | #define GLOF_ASPACE 1 | 218 | #define GLOF_ASPACE 1 |
219 | #define GLOF_LVB 2 | ||
219 | }; | 220 | }; |
220 | 221 | ||
221 | enum { | 222 | enum { |
@@ -321,7 +322,6 @@ struct gfs2_glock { | |||
321 | ktime_t gl_dstamp; | 322 | ktime_t gl_dstamp; |
322 | struct gfs2_lkstats gl_stats; | 323 | struct gfs2_lkstats gl_stats; |
323 | struct dlm_lksb gl_lksb; | 324 | struct dlm_lksb gl_lksb; |
324 | char gl_lvb[32]; | ||
325 | unsigned long gl_tchange; | 325 | unsigned long gl_tchange; |
326 | void *gl_object; | 326 | void *gl_object; |
327 | 327 | ||
@@ -539,6 +539,7 @@ enum { | |||
539 | SDF_DEMOTE = 5, | 539 | SDF_DEMOTE = 5, |
540 | SDF_NOJOURNALID = 6, | 540 | SDF_NOJOURNALID = 6, |
541 | SDF_RORECOVERY = 7, /* read only recovery */ | 541 | SDF_RORECOVERY = 7, /* read only recovery */ |
542 | SDF_SKIP_DLM_UNLOCK = 8, | ||
542 | }; | 543 | }; |
543 | 544 | ||
544 | #define GFS2_FSNAME_LEN 256 | 545 | #define GFS2_FSNAME_LEN 256 |
@@ -621,6 +622,7 @@ struct gfs2_sbd { | |||
621 | u32 sd_hash_bsize_shift; | 622 | u32 sd_hash_bsize_shift; |
622 | u32 sd_hash_ptrs; /* Number of pointers in a hash block */ | 623 | u32 sd_hash_ptrs; /* Number of pointers in a hash block */ |
623 | u32 sd_qc_per_block; | 624 | u32 sd_qc_per_block; |
625 | u32 sd_blocks_per_bitmap; | ||
624 | u32 sd_max_dirres; /* Max blocks needed to add a directory entry */ | 626 | u32 sd_max_dirres; /* Max blocks needed to add a directory entry */ |
625 | u32 sd_max_height; /* Max height of a file's metadata tree */ | 627 | u32 sd_max_height; /* Max height of a file's metadata tree */ |
626 | u64 sd_heightsize[GFS2_MAX_META_HEIGHT + 1]; | 628 | u64 sd_heightsize[GFS2_MAX_META_HEIGHT + 1]; |