Revert "Btrfs: adjust len of writes if following a preallocated extent"
authorChris Mason <clm@fb.com>
Fri, 9 Dec 2016 01:55:03 +0000 (17:55 -0800)
committerChris Mason <clm@fb.com>
Sun, 11 Dec 2016 23:27:15 +0000 (15:27 -0800)
commit7c4c71ac8a72aea595f4cc7e09c2bcc61929c4ac
treead675b9a57b2cb4cd2a691f7340a56eeaf952d1c
parente5d6b12fe14e89ea1c494585c47b1dfb31d71183
Revert "Btrfs: adjust len of writes if following a preallocated extent"

This is exposing an existing deadlock between fsync and AIO.  Until we
have the deadlock fixed, I'm pulling this one out.

This reverts commit a23eaa875f0f1d89eb866b8c9860e78273ff5daf.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c