diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-31 19:00:24 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:34:03 -0500 |
commit | 4cc14f0b88bf3e0b508143e091eb5a8dff3e3b9c (patch) | |
tree | 122fd017b608a6421bb720c544c21d84a9f41e82 /fs/gfs2/ops_inode.c | |
parent | ea744d01c6a5acf1f6171b4c6e1658a742063613 (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/ops_inode.c')
-rw-r--r-- | fs/gfs2/ops_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c index bd268852c674..b2c2fe613d70 100644 --- a/fs/gfs2/ops_inode.c +++ b/fs/gfs2/ops_inode.c | |||
@@ -467,7 +467,7 @@ static int gfs2_rmdir(struct inode *dir, struct dentry *dentry) | |||
467 | 467 | ||
468 | if (ip->i_di.di_entries < 2) { | 468 | if (ip->i_di.di_entries < 2) { |
469 | if (gfs2_consist_inode(ip)) | 469 | if (gfs2_consist_inode(ip)) |
470 | gfs2_dinode_print(&ip->i_di); | 470 | gfs2_dinode_print(ip); |
471 | error = -EIO; | 471 | error = -EIO; |
472 | goto out_gunlock; | 472 | goto out_gunlock; |
473 | } | 473 | } |
@@ -640,7 +640,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry, | |||
640 | if (S_ISDIR(nip->i_di.di_mode)) { | 640 | if (S_ISDIR(nip->i_di.di_mode)) { |
641 | if (nip->i_di.di_entries < 2) { | 641 | if (nip->i_di.di_entries < 2) { |
642 | if (gfs2_consist_inode(nip)) | 642 | if (gfs2_consist_inode(nip)) |
643 | gfs2_dinode_print(&nip->i_di); | 643 | gfs2_dinode_print(nip); |
644 | error = -EIO; | 644 | error = -EIO; |
645 | goto out_gunlock; | 645 | goto out_gunlock; |
646 | } | 646 | } |