From: Sage Weil Date: Thu, 6 May 2010 04:30:35 +0000 (-0700) Subject: ceph: don't use writeback_control in writepages completion X-Git-Tag: v2.6.34~27^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54ad023ba8108d0163acc931ed4b5e4a8a3a7327;p=pandora-kernel.git 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 --- Reading git-diff-tree failed