summaryrefslogtreecommitdiff
path: root/include
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 /include
parent5dfc589a8467470226feccdc50f1b32713318e7b (diff)
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 'include')
0 files changed, 0 insertions, 0 deletions