OSDN Git Service

Btrfs: set UNWRITTEN for prealloc'ed extents in fiemap
authorJosef Bacik <jbacik@fb.com>
Tue, 19 May 2015 14:44:04 +0000 (10:44 -0400)
committerChris Mason <clm@fb.com>
Wed, 3 Jun 2015 11:03:03 +0000 (04:03 -0700)
commit0d2b2372e097cd3b4150d3ec91e79ac3c5cc750e
treed431e50e8e41e4fa49dfa7a36e0f08ba474f1415
parentc8d3fe028f64054d75c72566efb9ecf3c75ee161
Btrfs: set UNWRITTEN for prealloc'ed extents in fiemap

We should be doing this, it's weird we hadn't been doing this.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c