“b40addd107d512f05b9f04509bca5fb4abac0dfe”上不存在“git@gitcode.net:ylwdev/VueJS_949185.git”
提交 ca138f36 编写于 作者: F Fred Isaman 提交者: Trond Myklebust

NFS: check for req==NULL in nfs_try_to_update_request cleanup

Signed-off-by: NFred Isaman <iisaman@netapp.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 adae0fe0
......@@ -682,6 +682,7 @@ static struct nfs_page *nfs_try_to_update_request(struct inode *inode,
req->wb_bytes = rqend - req->wb_offset;
out_unlock:
spin_unlock(&inode->i_lock);
if (req)
nfs_clear_request_commit(req);
return req;
out_flushme:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册