summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2013-03-28 09:30:28 +0100
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 21:54:27 +0200
commit6b67a32000dede2d50ac35b540726d2b7d8d17a8 (patch)
treecd471a5ed4d6aaafa8c805bfd5f76634d8343348 /fs/btrfs/extent_io.c
parentbtrfs: document mount options in Documentation/fs/btrfs.txt (diff)
downloadlinux-6b67a32000dede2d50ac35b540726d2b7d8d17a8.tar.xz
linux-6b67a32000dede2d50ac35b540726d2b7d8d17a8.zip
Btrfs: pass NULL instead of 0
set_extent_bit()'s (u64 *failed_start) expects NULL not 0. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index cdee391fc7bf..1e4627c33548 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -1189,7 +1189,7 @@ int set_extent_new(struct extent_io_tree *tree, u64 start, u64 end,
int set_extent_uptodate(struct extent_io_tree *tree, u64 start, u64 end,
struct extent_state **cached_state, gfp_t mask)
{
- return set_extent_bit(tree, start, end, EXTENT_UPTODATE, 0,
+ return set_extent_bit(tree, start, end, EXTENT_UPTODATE, NULL,
cached_state, mask);
}