summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-10-31 19:00:24 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:03 -0500
commit4cc14f0b88bf3e0b508143e091eb5a8dff3e3b9c (patch)
tree122fd017b608a6421bb720c544c21d84a9f41e82 /fs/gfs2/ops_inode.c
parentea744d01c6a5acf1f6171b4c6e1658a742063613 (diff)
downloadblackbird-op-linux-4cc14f0b88bf3e0b508143e091eb5a8dff3e3b9c.tar.gz
blackbird-op-linux-4cc14f0b88bf3e0b508143e091eb5a8dff3e3b9c.zip
[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.c4
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)
if (ip->i_di.di_entries < 2) {
if (gfs2_consist_inode(ip))
- gfs2_dinode_print(&ip->i_di);
+ gfs2_dinode_print(ip);
error = -EIO;
goto out_gunlock;
}
@@ -640,7 +640,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
if (S_ISDIR(nip->i_di.di_mode)) {
if (nip->i_di.di_entries < 2) {
if (gfs2_consist_inode(nip))
- gfs2_dinode_print(&nip->i_di);
+ gfs2_dinode_print(nip);
error = -EIO;
goto out_gunlock;
}
OpenPOWER on IntegriCloud