projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabf5ba
)
NFS: remove pointless if statement in nfs_direct_write_result
author
Fred Isaman
<iisaman@netapp.com>
Fri, 11 Feb 2011 15:42:37 +0000
(15:42 +0000)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:40 +0000
(15:38 -0500)
The code was doing nothing more in either branch of the if.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/direct.c
b/fs/nfs/direct.c
index 9943a75bb6d1d94766c7992be26034372152e4ad..f493bdd74f78c8c495bec568dc1a2875d32bfc73 100644
(file)
--- 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);
}
/*