diff options
author | Daniel J Blueman <daniel@quora.org> | 2012-04-26 00:37:14 +0800 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2012-05-30 10:23:30 -0400 |
commit | 2eec6c8102c62c540c637176271cfdb13d828d7b (patch) | |
tree | 35b32d27bf50122b8f89385940fb8c7a4926343b /fs/btrfs/ulist.h | |
parent | 0d2450abfa359ff94a2bee64a7daeba68c346c81 (diff) | |
download | lwn-2eec6c8102c62c540c637176271cfdb13d828d7b.tar.gz lwn-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.h')
-rw-r--r-- | fs/btrfs/ulist.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/ulist.h b/fs/btrfs/ulist.h index 2e25dec58ec0..6568c3527732 100644 --- a/fs/btrfs/ulist.h +++ b/fs/btrfs/ulist.h @@ -59,10 +59,9 @@ struct ulist { void ulist_init(struct ulist *ulist); void ulist_fini(struct ulist *ulist); void ulist_reinit(struct ulist *ulist); -struct ulist *ulist_alloc(unsigned long gfp_mask); +struct ulist *ulist_alloc(gfp_t gfp_mask); void ulist_free(struct ulist *ulist); -int ulist_add(struct ulist *ulist, u64 val, unsigned long aux, - unsigned long gfp_mask); +int ulist_add(struct ulist *ulist, u64 val, unsigned long aux, gfp_t gfp_mask); struct ulist_node *ulist_next(struct ulist *ulist, struct ulist_node *prev); #endif |