aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/inode.c')
-rw-r--r--fs/ocfs2/inode.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c
index f87f9bd1edff..f29a90fde619 100644
--- a/fs/ocfs2/inode.c
+++ b/fs/ocfs2/inode.c
@@ -386,19 +386,9 @@ static int ocfs2_read_locked_inode(struct inode *inode,
386 u32 generation = 0; 386 u32 generation = 0;
387 387
388 status = -EINVAL; 388 status = -EINVAL;
389 if (inode == NULL || inode->i_sb == NULL) {
390 mlog(ML_ERROR, "bad inode\n");
391 return status;
392 }
393 sb = inode->i_sb; 389 sb = inode->i_sb;
394 osb = OCFS2_SB(sb); 390 osb = OCFS2_SB(sb);
395 391
396 if (!args) {
397 mlog(ML_ERROR, "bad inode args\n");
398 make_bad_inode(inode);
399 return status;
400 }
401
402 /* 392 /*
403 * To improve performance of cold-cache inode stats, we take 393 * To improve performance of cold-cache inode stats, we take
404 * the cluster lock here if possible. 394 * the cluster lock here if possible.