linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [fs/mbcache.c] Add lock annotation for __mb_cache_entry_release_unlock
@ 2006-07-25  0:28 Josh Triplett
  0 siblings, 0 replies; only message in thread
From: Josh Triplett @ 2006-07-25  0:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Andreas Gruenbacher

__mb_cache_entry_release_unlock releases mb_cache_spinlock, so annotate it
accordingly.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
---
 fs/mbcache.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/mbcache.c b/fs/mbcache.c
index e4fde1a..0ff7125 100644
--- a/fs/mbcache.c
+++ b/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)



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-25  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25  0:28 [PATCH] [fs/mbcache.c] Add lock annotation for __mb_cache_entry_release_unlock Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).