aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/ondisk.c
diff options
context:
space:
mode:
authorSteven Whitehouse2006-10-31 19:00:24 -0500
committerSteven Whitehouse2006-11-30 10:34:03 -0500
commit4cc14f0b88bf3e0b508143e091eb5a8dff3e3b9c (patch)
tree122fd017b608a6421bb720c544c21d84a9f41e82 /fs/gfs2/ondisk.c
parentea744d01c6a5acf1f6171b4c6e1658a742063613 (diff)
[GFS2] Change argument to gfs2_dinode_print
Change argument for gfs2_dinode_print in order to prepare for removal of duplicate fields between struct inode and struct gfs2_dinode_host. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r--fs/gfs2/ondisk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c
index 062a44f87fec..77bed440833d 100644
--- a/fs/gfs2/ondisk.c
+++ b/fs/gfs2/ondisk.c
@@ -190,8 +190,10 @@ void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf)
}
-void gfs2_dinode_print(const struct gfs2_dinode_host *di)
+void gfs2_dinode_print(const struct gfs2_inode *ip)
{
+ const struct gfs2_dinode_host *di = &ip->i_di;
+
gfs2_meta_header_print(&di->di_header);
gfs2_inum_print(&di->di_num);