27 #define GFS2_SMALL_FH_SIZE 4
28 #define GFS2_LARGE_FH_SIZE 8
29 #define GFS2_OLD_FH_SIZE 10
52 if (!parent || inode == sb->
s_root->d_inode)
76 if (inum != gnfd->
inum.no_addr)
85 static int gfs2_get_name(
struct dentry *parent,
char *
name,
119 if (!error && !*name)
125 static struct dentry *gfs2_get_parent(
struct dentry *child)
148 return ERR_CAST(inode);
155 int fh_len,
int fh_type)
170 return gfs2_get_dentry(sb, &
this);
177 int fh_len,
int fh_type)
191 return gfs2_get_dentry(sb, &parent);
198 .encode_fh = gfs2_encode_fh,
199 .fh_to_dentry = gfs2_fh_to_dentry,
200 .fh_to_parent = gfs2_fh_to_parent,
201 .get_name = gfs2_get_name,
202 .get_parent = gfs2_get_parent,