diff options
-rw-r--r-- | fs/fscache/object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fscache/object.c b/fs/fscache/object.c index 9edc920f651f..6d9cb1719de5 100644 --- a/fs/fscache/object.c +++ b/fs/fscache/object.c | |||
@@ -730,6 +730,9 @@ static const struct fscache_state *fscache_drop_object(struct fscache_object *ob | |||
730 | 730 | ||
731 | if (awaken) | 731 | if (awaken) |
732 | wake_up_bit(&cookie->flags, FSCACHE_COOKIE_INVALIDATING); | 732 | wake_up_bit(&cookie->flags, FSCACHE_COOKIE_INVALIDATING); |
733 | if (test_and_clear_bit(FSCACHE_COOKIE_LOOKING_UP, &cookie->flags)) | ||
734 | wake_up_bit(&cookie->flags, FSCACHE_COOKIE_LOOKING_UP); | ||
735 | |||
733 | 736 | ||
734 | /* Prevent a race with our last child, which has to signal EV_CLEARED | 737 | /* Prevent a race with our last child, which has to signal EV_CLEARED |
735 | * before dropping our spinlock. | 738 | * before dropping our spinlock. |