diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-12 12:29:15 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-12 19:34:23 -0400 |
commit | c0d0e96b840dcc73f9b9d45bf8f405dbce72a079 (patch) | |
tree | 001b16eb41bf390bac014b4d76dc8ac91e6b4c13 | |
parent | 561f0b0ad073859a87d22845ddfd9df149b22e5f (diff) |
NFS: Get rid of pointless test in nfs_commit_done
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-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 bb608186b099..3bd5d7e80f6c 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) | |||
1417 | task->tk_pid, task->tk_status); | 1417 | task->tk_pid, task->tk_status); |
1418 | 1418 | ||
1419 | /* Call the NFS version-specific code */ | 1419 | /* Call the NFS version-specific code */ |
1420 | if (NFS_PROTO(data->inode)->commit_done(task, data) != 0) | 1420 | NFS_PROTO(data->inode)->commit_done(task, data); |
1421 | return; | ||
1422 | } | 1421 | } |
1423 | 1422 | ||
1424 | void nfs_commit_release_pages(struct nfs_write_data *data) | 1423 | void nfs_commit_release_pages(struct nfs_write_data *data) |