From: Josh Triplett __mb_cache_entry_release_unlock releases mb_cache_spinlock, so annotate it accordingly. Signed-off-by: Josh Triplett Cc: Andreas Gruenbacher Signed-off-by: Andrew Morton --- fs/mbcache.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/mbcache.c~mbcache-add-lock-annotation-for-__mb_cache_entry_release_unlock fs/mbcache.c --- a/fs/mbcache.c~mbcache-add-lock-annotation-for-__mb_cache_entry_release_unlock +++ a/fs/mbcache.c @@ -160,6 +160,7 @@ __mb_cache_entry_forget(struct mb_cache_ static void __mb_cache_entry_release_unlock(struct mb_cache_entry *ce) + __releases(mb_cache_spinlock) { /* Wake up all processes queuing for this cache entry. */ if (ce->e_queued) _