aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-05-09 08:36:10 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2011-05-09 11:44:29 -0400
commit94fb763b1a76a2000ad21f3119b05c90040acaf0 (patch)
tree72cb7fd210b8bb58e52403ba8c7fb35e93e2a5cc /fs/gfs2/super.c
parent3d6ecb7d16fd4248fce58387a982a0756ad3fcc2 (diff)
GFS2: Remove gfs2_dinode_print() function
This function was intended for debugging purposes, but it is not very useful. If we want to know what is on disk then all we need is a block number and gfs2_edit can give us much better information about what is there. Otherwise, if we are interested in what is stored in the in-core inode, it doesn't help us out there either. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 58fe3a4ac82..3061ac64f81 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -1341,8 +1341,7 @@ static int gfs2_dinode_dealloc(struct gfs2_inode *ip)
1341 int error; 1341 int error;
1342 1342
1343 if (gfs2_get_inode_blocks(&ip->i_inode) != 1) { 1343 if (gfs2_get_inode_blocks(&ip->i_inode) != 1) {
1344 if (gfs2_consist_inode(ip)) 1344 gfs2_consist_inode(ip);
1345 gfs2_dinode_print(ip);
1346 return -EIO; 1345 return -EIO;
1347 } 1346 }
1348 1347