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) | |
download | op-kernel-dev-c0d0e96b840dcc73f9b9d45bf8f405dbce72a079.zip op-kernel-dev-c0d0e96b840dcc73f9b9d45bf8f405dbce72a079.tar.gz |
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 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) |