diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c index 38b8ab554924cd2d4a9ddf11ce3a79efe3d411cd..54967268a340121ba7c993d7a060b1490c80eb99 100644 --- a/fs/ceph/addr.c +++ b/fs/ceph/addr.c @@ -880,8 +880,6 @@ static int ceph_writepages_start(struct address_space *mapping, 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;