提交 ddafd514 编写于 作者: T Tobias Klauser 提交者: Greg Kroah-Hartman

staging/lustre/llite: Remove unnecessary check for NULL before iput()

iput() already checks for the inode being NULL, thus it's unnecessary to
check before calling.
Signed-off-by: NTobias Klauser <tklauser@distanz.ch>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 4764ca98
......@@ -591,7 +591,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt,
return err;
out_root:
if (root)
iput(root);
out_lock_cn_cb:
obd_fid_fini(sbi->ll_dt_exp->exp_obd);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册