diff options
author | Jeff Mahoney <jeffm@suse.com> | 2012-03-01 14:57:19 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-03-22 01:45:35 +0100 |
commit | 3fbe5c02ae5a59053d779392b9a12aa8f6d6198e (patch) | |
tree | 39b3383401c031d61b6d4cf625730511a5fe7dae /fs/btrfs/extent_io.h | |
parent | btrfs: drop gfp_t from lock_extent (diff) | |
download | linux-3fbe5c02ae5a59053d779392b9a12aa8f6d6198e.tar.xz linux-3fbe5c02ae5a59053d779392b9a12aa8f6d6198e.zip |
btrfs: split extent_state ops
set_extent_bit can do exclusive locking but only when called by lock_extent*,
Drop the exclusive bits argument except when called by lock_extent.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 439e183d45bb..3a171c259276 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -209,7 +209,7 @@ int clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, int set_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, int bits, gfp_t mask); int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, - int bits, int exclusive_bits, u64 *failed_start, + int bits, u64 *failed_start, struct extent_state **cached_state, gfp_t mask); int set_extent_uptodate(struct extent_io_tree *tree, u64 start, u64 end, struct extent_state **cached_state, gfp_t mask); |