aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-04-29 09:38:46 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:55:27 -0400
commit410748882ac703aa0550aa6c3c5656edd0462001 (patch)
tree8f5d6a53ad6d19af08f6991a6ee702269e28dbd0 /fs/btrfs/inode.c
parent625f1c8dc66d77878e1a563d6dd5722404968fbf (diff)
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 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,
1530 * have pending delalloc work to be done. 1530 * have pending delalloc work to be done.
1531 */ 1531 */
1532static void btrfs_set_bit_hook(struct inode *inode, 1532static void btrfs_set_bit_hook(struct inode *inode,
1533 struct extent_state *state, int *bits) 1533 struct extent_state *state, unsigned long *bits)
1534{ 1534{
1535 1535
1536 /* 1536 /*
@@ -1574,7 +1574,8 @@ static void btrfs_set_bit_hook(struct inode *inode,
1574 * extent_io.c clear_bit_hook, see set_bit_hook for why 1574 * extent_io.c clear_bit_hook, see set_bit_hook for why
1575 */ 1575 */
1576static void btrfs_clear_bit_hook(struct inode *inode, 1576static void btrfs_clear_bit_hook(struct inode *inode,
1577 struct extent_state *state, int *bits) 1577 struct extent_state *state,
1578 unsigned long *bits)
1578{ 1579{
1579 /* 1580 /*
1580 * set_bit and clear bit hooks normally require _irqsave/restore 1581 * set_bit and clear bit hooks normally require _irqsave/restore