summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ulist.c
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel@quora.org>2012-04-25 18:37:14 +0200
committerJosef Bacik <josef@redhat.com>2012-05-30 16:23:30 +0200
commit2eec6c8102c62c540c637176271cfdb13d828d7b (patch)
tree35b32d27bf50122b8f89385940fb8c7a4926343b /fs/btrfs/ulist.c
parentbtrfs: allow changing 'thread_pool' size at remount time (diff)
downloadlinux-2eec6c8102c62c540c637176271cfdb13d828d7b.tar.xz
linux-2eec6c8102c62c540c637176271cfdb13d828d7b.zip
Fix minor type issues
Address some minor type issues identified by sparse checker. Signed-off-by: Daniel J Blueman <daniel@quora.org>
Diffstat (limited to 'fs/btrfs/ulist.c')
-rw-r--r--fs/btrfs/ulist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ulist.c b/fs/btrfs/ulist.c
index 12f5147bd2b1..ad993bc2df93 100644
--- a/fs/btrfs/ulist.c
+++ b/fs/btrfs/ulist.c
@@ -95,7 +95,7 @@ EXPORT_SYMBOL(ulist_reinit);
*
* The allocated ulist will be returned in an initialized state.
*/
-struct ulist *ulist_alloc(unsigned long gfp_mask)
+struct ulist *ulist_alloc(gfp_t gfp_mask)
{
struct ulist *ulist = kmalloc(sizeof(*ulist), gfp_mask);
@@ -144,7 +144,7 @@ EXPORT_SYMBOL(ulist_free);
* unaltered.
*/
int ulist_add(struct ulist *ulist, u64 val, unsigned long aux,
- unsigned long gfp_mask)
+ gfp_t gfp_mask)
{
int i;