summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-04-29 13:38:46 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:55:27 -0400
commit410748882ac703aa0550aa6c3c5656edd0462001 (patch)
tree8f5d6a53ad6d19af08f6991a6ee702269e28dbd0 /fs/btrfs/inode.c
parent625f1c8dc66d77878e1a563d6dd5722404968fbf (diff)
downloadop-kernel-dev-410748882ac703aa0550aa6c3c5656edd0462001.zip
op-kernel-dev-410748882ac703aa0550aa6c3c5656edd0462001.tar.gz
btrfs: use unsigned long type for extent state bits
Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index ec63d7a..1669c3b 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1530,7 +1530,7 @@ static void btrfs_merge_extent_hook(struct inode *inode,
* have pending delalloc work to be done.
*/
static void btrfs_set_bit_hook(struct inode *inode,
- struct extent_state *state, int *bits)
+ struct extent_state *state, unsigned long *bits)
{
/*
@@ -1574,7 +1574,8 @@ static void btrfs_set_bit_hook(struct inode *inode,
* extent_io.c clear_bit_hook, see set_bit_hook for why
*/
static void btrfs_clear_bit_hook(struct inode *inode,
- struct extent_state *state, int *bits)
+ struct extent_state *state,
+ unsigned long *bits)
{
/*
* set_bit and clear bit hooks normally require _irqsave/restore
OpenPOWER on IntegriCloud