diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-12 18:29:15 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-13 01:34:23 +0200 |
commit | c0d0e96b840dcc73f9b9d45bf8f405dbce72a079 (patch) | |
tree | 001b16eb41bf390bac014b4d76dc8ac91e6b4c13 /fs/nfs/write.c | |
parent | NFS: Remove unused argument from nfs_find_best_sec() (diff) | |
download | linux-c0d0e96b840dcc73f9b9d45bf8f405dbce72a079.tar.xz 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/write.c')
-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) 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) |