aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/osd_client.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-05-05 21:30:35 -0700
committerSage Weil <sage@newdream.net>2010-05-05 21:31:40 -0700
commit54ad023ba8108d0163acc931ed4b5e4a8a3a7327 (patch)
tree93edeaba0b8f851c9b5a18c6e42c92b2237480c5 /fs/ceph/osd_client.h
parent5dfc589a8467470226feccdc50f1b32713318e7b (diff)
downloadkernel_samsung_tuna-54ad023ba8108d0163acc931ed4b5e4a8a3a7327.zip
kernel_samsung_tuna-54ad023ba8108d0163acc931ed4b5e4a8a3a7327.tar.gz
kernel_samsung_tuna-54ad023ba8108d0163acc931ed4b5e4a8a3a7327.tar.bz2
ceph: don't use writeback_control in writepages completion
The ->writepages writeback_control is not still valid in the writepages completion. We were touching it solely to adjust pages_skipped when there was a writeback error (EIO, ENOSPC, EPERM due to bad osd credentials), causing an oops in the writeback code shortly thereafter. Updating pages_skipped on error isn't correct anyway, so let's just rip out this (clearly broken) code to pass the wbc to the completion. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/osd_client.h')
-rw-r--r--fs/ceph/osd_client.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/osd_client.h b/fs/ceph/osd_client.h
index b075991..c5191d6 100644
--- a/fs/ceph/osd_client.h
+++ b/fs/ceph/osd_client.h
@@ -66,7 +66,6 @@ struct ceph_osd_request {
struct list_head r_unsafe_item;
struct inode *r_inode; /* for use by callbacks */
- struct writeback_control *r_wbc; /* ditto */
char r_oid[40]; /* object name */
int r_oid_len;