diff options
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 | } |