aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_export.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-10-13 22:51:24 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:33:32 -0500
commit629a21e7ecedf779c68dcaa9a186069f57a7c652 (patch)
treeaff577cb9d1d3cf42ddb16f4552411d08e5cdc51 /fs/gfs2/ops_export.c
parent1e81c4c3e0f55c95b6278a827262b80debd0dc7e (diff)
[GFS2] split and annotate gfs2_inum
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_export.c')
-rw-r--r--fs/gfs2/ops_export.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/ops_export.c b/fs/gfs2/ops_export.c
index 86127d93bd35..33423a5c329b 100644
--- a/fs/gfs2/ops_export.c
+++ b/fs/gfs2/ops_export.c
@@ -35,7 +35,7 @@ static struct dentry *gfs2_decode_fh(struct super_block *sb,
35 void *context) 35 void *context)
36{ 36{
37 struct gfs2_fh_obj fh_obj; 37 struct gfs2_fh_obj fh_obj;
38 struct gfs2_inum *this, parent; 38 struct gfs2_inum_host *this, parent;
39 39
40 if (fh_type != fh_len) 40 if (fh_type != fh_len)
41 return NULL; 41 return NULL;
@@ -114,12 +114,12 @@ static int gfs2_encode_fh(struct dentry *dentry, __u32 *fh, int *len,
114} 114}
115 115
116struct get_name_filldir { 116struct get_name_filldir {
117 struct gfs2_inum inum; 117 struct gfs2_inum_host inum;
118 char *name; 118 char *name;
119}; 119};
120 120
121static int get_name_filldir(void *opaque, const char *name, unsigned int length, 121static int get_name_filldir(void *opaque, const char *name, unsigned int length,
122 u64 offset, struct gfs2_inum *inum, 122 u64 offset, struct gfs2_inum_host *inum,
123 unsigned int type) 123 unsigned int type)
124{ 124{
125 struct get_name_filldir *gnfd = (struct get_name_filldir *)opaque; 125 struct get_name_filldir *gnfd = (struct get_name_filldir *)opaque;
@@ -202,7 +202,7 @@ static struct dentry *gfs2_get_dentry(struct super_block *sb, void *inum_obj)
202{ 202{
203 struct gfs2_sbd *sdp = sb->s_fs_info; 203 struct gfs2_sbd *sdp = sb->s_fs_info;
204 struct gfs2_fh_obj *fh_obj = (struct gfs2_fh_obj *)inum_obj; 204 struct gfs2_fh_obj *fh_obj = (struct gfs2_fh_obj *)inum_obj;
205 struct gfs2_inum *inum = &fh_obj->this; 205 struct gfs2_inum_host *inum = &fh_obj->this;
206 struct gfs2_holder i_gh, ri_gh, rgd_gh; 206 struct gfs2_holder i_gh, ri_gh, rgd_gh;
207 struct gfs2_rgrpd *rgd; 207 struct gfs2_rgrpd *rgd;
208 struct inode *inode; 208 struct inode *inode;