diff options
author | David Sterba <dsterba@suse.cz> | 2013-04-29 15:38:46 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 21:55:27 +0200 |
commit | 410748882ac703aa0550aa6c3c5656edd0462001 (patch) | |
tree | 8f5d6a53ad6d19af08f6991a6ee702269e28dbd0 /fs/btrfs/inode.c | |
parent | Btrfs: improve the loop of scrub_stripe (diff) | |
download | linux-410748882ac703aa0550aa6c3c5656edd0462001.tar.xz linux-410748882ac703aa0550aa6c3c5656edd0462001.zip |
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 '')
-rw-r--r-- | fs/btrfs/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index ec63d7af3460..1669c3b4be2f 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 |