summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2005-05-04 22:31:14 +0200
committerDave Kleikamp <shaggy@austin.ibm.com>2005-05-04 22:31:14 +0200
commit7a694ca74958b97ae2d437c8a730bddd9e9792c3 (patch)
tree1d25feb1d02cdff8affee0cbbcfc70b3af2c7385 /fs/jfs
parentJFS: cleanup - remove unneeded sanity check (diff)
downloadlinux-7a694ca74958b97ae2d437c8a730bddd9e9792c3.tar.xz
linux-7a694ca74958b97ae2d437c8a730bddd9e9792c3.zip
JFS: Fix sparse warning
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/jfs_metapage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c
index aa1cc7be3a56..6c5485d16c39 100644
--- a/fs/jfs/jfs_metapage.c
+++ b/fs/jfs/jfs_metapage.c
@@ -198,7 +198,7 @@ static void init_once(void *foo, kmem_cache_t *cachep, unsigned long flags)
}
}
-static inline struct metapage *alloc_metapage(int gfp_mask)
+static inline struct metapage *alloc_metapage(unsigned int gfp_mask)
{
return mempool_alloc(metapage_mempool, gfp_mask);
}