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)
commit6288d6eabc7505f42dda34a2c2962f91914be3a4
tree27381135cc240cfe73507cd14154df983e65824e
parentb1517622f2524f531113b12c27b9a0ea69c38983
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