提交 c0d0e96b 编写于 作者: T Trond Myklebust

NFS: Get rid of pointless test in nfs_commit_done

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 561f0b0a
......@@ -1417,8 +1417,7 @@ static void nfs_commit_done(struct rpc_task *task, void *calldata)
task->tk_pid, task->tk_status);
/* Call the NFS version-specific code */
if (NFS_PROTO(data->inode)->commit_done(task, data) != 0)
return;
NFS_PROTO(data->inode)->commit_done(task, data);
}
void nfs_commit_release_pages(struct nfs_write_data *data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册