Files
linux/fs
David Howells 969695215f FS-Cache: Add transition to handle invalidate immediately after lookup
Add a missing transition to the FS-Cache object state machine to handle an
invalidation event occuring between the back end completing the object lookup
by calling fscache_obtained_object() (which moves to state OBJECT_AVAILABLE)
and the backend returning to fscache_lookup_object() and thence to
fscache_object_state_machine() which then does a goto lookup_transit to handle
the transition - but lookup_transit doesn't handle EV_INVALIDATE.

Without this, the following BUG can be logged:

	FS-Cache: Unsupported event 2 [5/f7] in state OBJECT_AVAILABLE
	------------[ cut here ]------------
	kernel BUG at fs/fscache/object.c:357!

Where event 2 is EV_INVALIDATE.

Signed-off-by: David Howells <dhowells@redhat.com>
2012-12-20 22:19:22 +00:00
..
2012-11-16 11:20:42 -06:00
2012-10-09 23:33:38 -04:00
2012-10-17 09:18:38 -05:00
2011-03-31 11:26:23 -03:00
2012-10-09 18:35:22 -04:00
2012-10-06 03:05:31 +09:00
2012-07-14 16:34:47 +04:00
2012-10-09 23:33:39 -04:00
2012-12-17 17:15:26 -08:00
2012-10-09 23:33:39 -04:00
2012-10-22 08:50:37 +03:00
2012-10-29 09:00:57 -07:00
2012-10-09 15:52:31 +09:00
2012-11-28 21:49:02 -05:00
2012-12-10 16:30:43 -05:00
2012-10-09 18:35:22 -04:00
2012-11-29 22:17:21 -05:00
2012-09-26 21:08:52 -04:00
2012-12-17 17:15:27 -08:00
2012-10-09 23:33:39 -04:00