From: Trond Myklebust Date: Tue, 12 Apr 2011 16:29:15 +0000 (-0400) Subject: NFS: Get rid of pointless test in nfs_commit_done X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c0d0e96b840dcc73f9b9d45bf8f405dbce72a079;p=openwrt%2Fstaging%2Fblogic.git NFS: Get rid of pointless test in nfs_commit_done Signed-off-by: Trond Myklebust --- 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)