Skip to content
Snippets Groups Projects
Commit c0d0e96b authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Get rid of pointless test in nfs_commit_done


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