diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-09-29 04:59:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 12:18:07 -0400 |
commit | 58f555e5f62b6a8326caf6d45ac611186f24587d (patch) | |
tree | 0c6cc0aadc2c15587d9e91595f19c28216e00fc9 /fs/mbcache.c | |
parent | b0de7fca10a3d7ddb99188b4752cc473c4e2c96e (diff) |
[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 <josh@freedesktop.org>
Cc: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/mbcache.c')
-rw-r--r-- | fs/mbcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
160 | 160 | ||
161 | static void | 161 | static void |
162 | __mb_cache_entry_release_unlock(struct mb_cache_entry *ce) | 162 | __mb_cache_entry_release_unlock(struct mb_cache_entry *ce) |
163 | __releases(mb_cache_spinlock) | ||
163 | { | 164 | { |
164 | /* Wake up all processes queuing for this cache entry. */ | 165 | /* Wake up all processes queuing for this cache entry. */ |
165 | if (ce->e_queued) | 166 | if (ce->e_queued) |