summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-09-11 16:52:25 +0200
committerChris Mason <chris.mason@oracle.com>2011-09-11 16:52:25 +0200
commitd525e8ab022cb000e6e31a515ba8c3cf0d9c6130 (patch)
treeafaa93134ca050e1169ed8fe68442b4522d9112e /fs/btrfs/file.c
parentBtrfs: calc file extent num_bytes correctly in file clone (diff)
downloadlinux-d525e8ab022cb000e6e31a515ba8c3cf0d9c6130.tar.xz
linux-d525e8ab022cb000e6e31a515ba8c3cf0d9c6130.zip
Btrfs: add dummy extent if dst offset excceeds file end in
You can see there's no file extent with range [0, 4096]. Check this by btrfsck: # btrfsck /dev/sda7 root 5 inode 258 errors 100 ... Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions