]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
NFS: Get rid of pointless test in nfs_commit_done
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Apr 2011 16:29:15 +0000 (12:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 12 Apr 2011 23:34:23 +0000 (19:34 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c

index bb608186b0998e15eed5f7c052c46f2be6029439..3bd5d7e80f6cc60fbd7f46a68c8abd60c126eb54 100644 (file)
@@ -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)