summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-04-12 12:29:15 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-04-12 19:34:23 -0400
commitc0d0e96b840dcc73f9b9d45bf8f405dbce72a079 (patch)
tree001b16eb41bf390bac014b4d76dc8ac91e6b4c13 /fs/nfs
parent561f0b0ad073859a87d22845ddfd9df149b22e5f (diff)
downloadtalos-op-linux-c0d0e96b840dcc73f9b9d45bf8f405dbce72a079.tar.gz
talos-op-linux-c0d0e96b840dcc73f9b9d45bf8f405dbce72a079.zip
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.c3
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)
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)
OpenPOWER on IntegriCloud