projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561f0b0
)
NFS: Get rid of pointless test in nfs_commit_done
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 12 Apr 2011 16:29:15 +0000
(12:29 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 12 Apr 2011 23:34:23 +0000
(19:34 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c
patch
|
blob
|
history
diff --git
a/fs/nfs/write.c
b/fs/nfs/write.c
index bb608186b0998e15eed5f7c052c46f2be6029439..3bd5d7e80f6cc60fbd7f46a68c8abd60c126eb54 100644
(file)
--- 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)