diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-12 16:29:15 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-12 23:34:23 (GMT) |
commit | c0d0e96b840dcc73f9b9d45bf8f405dbce72a079 (patch) | |
tree | 001b16eb41bf390bac014b4d76dc8ac91e6b4c13 /fs/nfs | |
parent | 561f0b0ad073859a87d22845ddfd9df149b22e5f (diff) | |
download | linux-fsl-qoriq-c0d0e96b840dcc73f9b9d45bf8f405dbce72a079.tar.xz |
NFS: Get rid of pointless test in nfs_commit_done
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/write.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index bb60818..3bd5d7e 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -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) |