Commit c0d0e96b authored by Trond Myklebust's avatar Trond Myklebust

NFS: Get rid of pointless test in nfs_commit_done

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment