mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[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 <[email protected]> Cc: Andreas Gruenbacher <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b0de7fca10
commit
58f555e5f6
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue