diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-13 22:51:24 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:29 -0500 |
commit | 1e81c4c3e0f55c95b6278a827262b80debd0dc7e (patch) | |
tree | 0e56f7aac8d2e27a783bd5a99dd5f3e5023b9aaf /fs/gfs2 | |
parent | e928a76f959e89884f6186bb6f846c533847d5df (diff) |
[GFS2] split and annotate gfs_rindex
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/incore.h | 2 | ||||
-rw-r--r-- | fs/gfs2/ondisk.c | 4 | ||||
-rw-r--r-- | fs/gfs2/rgrp.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index e69f3394a2ce..e4afc2c4d609 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -67,7 +67,7 @@ struct gfs2_rgrpd { | |||
67 | struct list_head rd_list_mru; | 67 | struct list_head rd_list_mru; |
68 | struct list_head rd_recent; /* Recently used rgrps */ | 68 | struct list_head rd_recent; /* Recently used rgrps */ |
69 | struct gfs2_glock *rd_gl; /* Glock for this rgrp */ | 69 | struct gfs2_glock *rd_gl; /* Glock for this rgrp */ |
70 | struct gfs2_rindex rd_ri; | 70 | struct gfs2_rindex_host rd_ri; |
71 | struct gfs2_rgrp_host rd_rg; | 71 | struct gfs2_rgrp_host rd_rg; |
72 | u64 rd_rg_vn; | 72 | u64 rd_rg_vn; |
73 | struct gfs2_bitmap *rd_bits; | 73 | struct gfs2_bitmap *rd_bits; |
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index b5aa7ab97f28..c4e099d582f7 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -97,7 +97,7 @@ void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf) | |||
97 | memcpy(sb->sb_locktable, str->sb_locktable, GFS2_LOCKNAME_LEN); | 97 | memcpy(sb->sb_locktable, str->sb_locktable, GFS2_LOCKNAME_LEN); |
98 | } | 98 | } |
99 | 99 | ||
100 | void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf) | 100 | void gfs2_rindex_in(struct gfs2_rindex_host *ri, const void *buf) |
101 | { | 101 | { |
102 | const struct gfs2_rindex *str = buf; | 102 | const struct gfs2_rindex *str = buf; |
103 | 103 | ||
@@ -109,7 +109,7 @@ void gfs2_rindex_in(struct gfs2_rindex *ri, const void *buf) | |||
109 | 109 | ||
110 | } | 110 | } |
111 | 111 | ||
112 | void gfs2_rindex_print(const struct gfs2_rindex *ri) | 112 | void gfs2_rindex_print(const struct gfs2_rindex_host *ri) |
113 | { | 113 | { |
114 | printk(KERN_INFO " ri_addr = %llu\n", (unsigned long long)ri->ri_addr); | 114 | printk(KERN_INFO " ri_addr = %llu\n", (unsigned long long)ri->ri_addr); |
115 | pv(ri, ri_length, "%u"); | 115 | pv(ri, ri_length, "%u"); |
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index b261385c0065..07dfd6305058 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c | |||
@@ -253,7 +253,7 @@ void gfs2_rgrp_verify(struct gfs2_rgrpd *rgd) | |||
253 | 253 | ||
254 | } | 254 | } |
255 | 255 | ||
256 | static inline int rgrp_contains_block(struct gfs2_rindex *ri, u64 block) | 256 | static inline int rgrp_contains_block(struct gfs2_rindex_host *ri, u64 block) |
257 | { | 257 | { |
258 | u64 first = ri->ri_data0; | 258 | u64 first = ri->ri_data0; |
259 | u64 last = first + ri->ri_data; | 259 | u64 last = first + ri->ri_data; |