diff options
author | David Howells <[email protected]> | 2015-02-24 10:52:51 +0000 |
---|---|---|
committer | David Howells <[email protected]> | 2015-04-02 14:28:53 +0100 |
commit | 87021526300f1a292dd966e141e183630ac95317 (patch) | |
tree | a248e5643ecdf9dae6ab6a2fe0e3d4abc415b373 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f09b443d0e09f37121c55d7f83056f6ebff6ab4f (diff) |
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 <[email protected]>
Reviewed-by: Steve Dickson <[email protected]>
Acked-by: Jeff Layton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions