From: Josh Durgin Date: Mon, 7 Apr 2014 23:54:10 +0000 (-0700) Subject: rbd: tolerate -ENOENT for discard operations X-Git-Tag: fixes-against-v3.18-rc2~71^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0265de7c358d71a494dcd1ee28206b32754bb0f;p=pandora-kernel.git rbd: tolerate -ENOENT for discard operations Discard may try to delete an object from a non-layered image that does not exist. If this occurs, the image already has no data in that range, so change the result to success. Signed-off-by: Josh Durgin --- Reading git-diff-tree failed