From: Yehuda Sadeh Date: Tue, 9 Feb 2010 19:08:40 +0000 (-0800) Subject: ceph: fix truncation when not holding caps X-Git-Tag: v2.6.34-rc2~9^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d497d858ae6e5f23a28783030aecc69074e102d;p=pandora-kernel.git ceph: fix truncation when not holding caps A truncation should occur when either we have the specified caps for the file, or (in cases where we are not the only ones referencing the file) when it is mapped or when it is opened. The latter two cases were not handled. Signed-off-by: Yehuda Sadeh Signed-off-by: Sage Weil --- Reading git-diff-tree failed