[3/4] NFS: remove pointless if statement in nfs_direct_write_result
diff mbox

Message ID 1297438958-24861-4-git-send-email-iisaman@netapp.com
State Accepted, archived
Delegated to: Trond Myklebust
Headers show

Commit Message

Fred Isaman Feb. 11, 2011, 3:42 p.m. UTC
None

Patch
diff mbox

diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c
index 9943a75..f493bdd 100644
--- a/fs/nfs/direct.c
+++ b/fs/nfs/direct.c
@@ -649,8 +649,7 @@  static void nfs_direct_write_result(struct rpc_task *task, void *calldata)
 {
 	struct nfs_write_data *data = calldata;
 
-	if (nfs_writeback_done(task, data) != 0)
-		return;
+	nfs_writeback_done(task, data);
 }
 
 /*