]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: use the correct type when creating cow dio extent
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 21 Feb 2017 20:12:58 +0000 (12:12 -0800)
committerChris Mason <clm@fb.com>
Wed, 22 Feb 2017 23:55:03 +0000 (15:55 -0800)
commiteef3d2d3e0a1bc417467705bc94a07fd687a67f6
tree27381135cc240cfe73507cd14154df983e65824e
parenta93a7eb92f7bc77942ae82486b9cebbd6ba19d7d
Btrfs: use the correct type when creating cow dio extent

'BTRFS_ORDERED_REGULAR' was introduced for the cow case in patch
'Btrfs: specify a new ordered extent type for create_io_em',
but it missed the directIO cow case.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c