projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[XFS] Make d_maxiosz report the real maximum (INT_MAX) so we dont
[powerpc.git]
/
fs
/
mbcache.c
diff --git
a/fs/mbcache.c
b/fs/mbcache.c
index
b002a08
..
0f1e453
100644
(file)
--- a/
fs/mbcache.c
+++ b/
fs/mbcache.c
@@
-116,7
+116,7
@@
mb_cache_indexes(struct mb_cache *cache)
* What the mbcache registers as to get shrunk dynamically.
*/
* What the mbcache registers as to get shrunk dynamically.
*/
-static int mb_cache_shrink_fn(int nr_to_scan,
unsigned in
t gfp_mask);
+static int mb_cache_shrink_fn(int nr_to_scan,
gfp_
t gfp_mask);
static inline int
static inline int
@@
-140,7
+140,7
@@
__mb_cache_entry_unhash(struct mb_cache_entry *ce)
static inline void
static inline void
-__mb_cache_entry_forget(struct mb_cache_entry *ce,
in
t gfp_mask)
+__mb_cache_entry_forget(struct mb_cache_entry *ce,
gfp_
t gfp_mask)
{
struct mb_cache *cache = ce->e_cache;
{
struct mb_cache *cache = ce->e_cache;
@@
-193,7
+193,7
@@
forget:
* Returns the number of objects which are present in the cache.
*/
static int
* Returns the number of objects which are present in the cache.
*/
static int
-mb_cache_shrink_fn(int nr_to_scan,
unsigned in
t gfp_mask)
+mb_cache_shrink_fn(int nr_to_scan,
gfp_
t gfp_mask)
{
LIST_HEAD(free_list);
struct list_head *l, *ltmp;
{
LIST_HEAD(free_list);
struct list_head *l, *ltmp;
@@
-301,8
+301,7
@@
fail:
if (cache) {
while (--m >= 0)
kfree(cache->c_indexes_hash[m]);
if (cache) {
while (--m >= 0)
kfree(cache->c_indexes_hash[m]);
- if (cache->c_block_hash)
- kfree(cache->c_block_hash);
+ kfree(cache->c_block_hash);
kfree(cache);
}
return NULL;
kfree(cache);
}
return NULL;