projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ALSA] ASoC DAPM switching for reentrant codec paths
[linux-2.6-block.git]
/
fs
/
mbcache.c
diff --git
a/fs/mbcache.c
b/fs/mbcache.c
index 73e754fea2d8639ebc99331fe68f5e24cde00f19..deeb9dc062d9dfdc74676734163e8c273f6aa274 100644
(file)
--- a/
fs/mbcache.c
+++ b/
fs/mbcache.c
@@
-85,7
+85,7
@@
struct mb_cache {
#ifndef MB_CACHE_INDEXES_COUNT
int c_indexes_count;
#endif
#ifndef MB_CACHE_INDEXES_COUNT
int c_indexes_count;
#endif
-
kmem_cache_t
*c_entry_cache;
+
struct kmem_cache
*c_entry_cache;
struct list_head *c_block_hash;
struct list_head *c_indexes_hash[0];
};
struct list_head *c_block_hash;
struct list_head *c_indexes_hash[0];
};
@@
-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)
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)
{
/* Wake up all processes queuing for this cache entry. */
if (ce->e_queued)
@@
-311,7
+312,7
@@
fail:
/*
* mb_cache_shrink()
*
/*
* mb_cache_shrink()
*
- * Removes all cache ent
ir
es of a device from the cache. All cache entries
+ * Removes all cache ent
ri
es of a device from the cache. All cache entries
* currently in use cannot be freed, and thus remain in the cache. All others
* are freed.
*
* currently in use cannot be freed, and thus remain in the cache. All others
* are freed.
*