diff --git a/fs/lustre/llite/file.c b/fs/lustre/llite/file.c index da5bf86..6732b68 100644 --- a/fs/lustre/llite/file.c +++ b/fs/lustre/llite/file.c @@ -540,7 +540,7 @@ int ll_file_open(struct inode *inode, struct file *file) fd = ll_file_data_get(); if (!fd) { rc = -ENOMEM; - goto out_openerr; + goto out_nofiledata; } fd->fd_file = file; @@ -723,6 +723,7 @@ int ll_file_open(struct inode *inode, struct file *file) ll_stats_ops_tally(ll_i2sbi(inode), LPROC_LL_OPEN, 1); } +out_nofiledata: if (it && it_disposition(it, DISP_ENQ_OPEN_REF)) { ptlrpc_req_finished(it->it_request); it_clear_disposition(it, DISP_ENQ_OPEN_REF);