diff options
author | David Howells <dhowells@redhat.com> | 2009-11-19 18:11:41 (GMT) |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2009-11-19 18:11:41 (GMT) |
commit | d461d26dde901b0523c46b0317e7fccf574a3933 (patch) | |
tree | abaac0f4259ec9458fa40be85ed7a3d4f8982cc5 /lib/crc32.c | |
parent | 2175bb06dc6cf2af9c098a1770561f9e63edae4e (diff) | |
download | linux-d461d26dde901b0523c46b0317e7fccf574a3933.tar.xz |
FS-Cache: Make sure FSCACHE_COOKIE_LOOKING_UP cleared on lookup failure
We must make sure that FSCACHE_COOKIE_LOOKING_UP is cleared on lookup failure
(if an object reaches the LC_DYING state), and we should clear it before
clearing FSCACHE_COOKIE_CREATING.
If this doesn't happen then fscache_wait_for_deferred_lookup() may hold
allocation and retrieval operations indefinitely until they're interrupted by
signals - which in turn pins the dying object until they go away.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions