From: David Howells Date: Tue, 24 Feb 2015 10:52:51 +0000 (+0000) Subject: FS-Cache: fscache_object_is_dead() has wrong logic, kill it X-Git-Tag: omap-for-v4.2/fixes-rc1^2~6^2~17^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87021526300f1a292dd966e141e183630ac95317;p=pandora-kernel.git FS-Cache: fscache_object_is_dead() has wrong logic, kill it fscache_object_is_dead() returns true only if the object is marked dead and the cache got an I/O error. This should be a logical OR instead. Since two of the callers got split up into handling for separate subcases, expand the other callers and kill the function. This is probably the right thing to do anyway since one of the subcases isn't about the object at all, but rather about the cache. Signed-off-by: David Howells Reviewed-by: Steve Dickson Acked-by: Jeff Layton --- Reading git-diff-tree failed