From: Josh Triplett Date: Fri, 29 Sep 2006 08:59:24 +0000 (-0700) Subject: [PATCH] mbcache: add lock annotation for __mb_cache_entry_release_unlock() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=58f555e5f62b6a8326caf6d45ac611186f24587d;p=linux-beck.git [PATCH] mbcache: add lock annotation for __mb_cache_entry_release_unlock() __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 Signed-off-by: Linus Torvalds --- diff --git a/fs/mbcache.c b/fs/mbcache.c index e4fde1ab22cd..0ff71256e65b 100644 --- a/fs/mbcache.c +++ b/fs/mbcache.c @@ -160,6 +160,7 @@ __mb_cache_entry_forget(struct mb_cache_entry *ce, gfp_t gfp_mask) 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)