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: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4764ca981b
commit
ddafd514b1
1 changed files with 1 additions and 2 deletions
|
@ -591,7 +591,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt,
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
out_root:
|
out_root:
|
||||||
if (root)
|
|
||||||
iput(root);
|
iput(root);
|
||||||
out_lock_cn_cb:
|
out_lock_cn_cb:
|
||||||
obd_fid_fini(sbi->ll_dt_exp->exp_obd);
|
obd_fid_fini(sbi->ll_dt_exp->exp_obd);
|
||||||
|
|
Loading…
Add table
Reference in a new issue