projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2a7960
)
ceph: remove useless check
author
Sage Weil
<sage@newdream.net>
Thu, 12 May 2011 22:43:48 +0000
(15:43 -0700)
committer
Sage Weil
<sage@newdream.net>
Thu, 19 May 2011 18:25:05 +0000
(11:25 -0700)
rc is only ever 0 or negative in this method.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/addr.c
b/fs/ceph/addr.c
index 38b8ab554924cd2d4a9ddf11ce3a79efe3d411cd..54967268a340121ba7c993d7a060b1490c80eb99 100644
(file)
--- a/
fs/ceph/addr.c
+++ b/
fs/ceph/addr.c
@@
-880,8
+880,6
@@
release_pvec_pages:
out:
if (req)
ceph_osdc_put_request(req);
- if (rc > 0)
- rc = 0; /* vfs expects us to return 0 */
ceph_put_snap_context(snapc);
dout("writepages done, rc = %d\n", rc);
return rc;