diff options
author | Jeff Mahoney <jeffm@suse.com> | 2012-03-01 08:57:19 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-03-21 20:45:35 -0400 |
commit | 3fbe5c02ae5a59053d779392b9a12aa8f6d6198e (patch) | |
tree | 39b3383401c031d61b6d4cf625730511a5fe7dae /fs/btrfs/extent_io.h | |
parent | d0082371cf086e0ba2bbd0367b2c9920532df24f (diff) |
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, | |||
209 | int set_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, | 209 | int set_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, |
210 | int bits, gfp_t mask); | 210 | int bits, gfp_t mask); |
211 | int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, | 211 | int set_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, |
212 | int bits, int exclusive_bits, u64 *failed_start, | 212 | int bits, u64 *failed_start, |
213 | struct extent_state **cached_state, gfp_t mask); | 213 | struct extent_state **cached_state, gfp_t mask); |
214 | int set_extent_uptodate(struct extent_io_tree *tree, u64 start, u64 end, | 214 | int set_extent_uptodate(struct extent_io_tree *tree, u64 start, u64 end, |
215 | struct extent_state **cached_state, gfp_t mask); | 215 | struct extent_state **cached_state, gfp_t mask); |