Btrfs: Fix cow semantic in run_delalloc_nocow()
authorLiu Hui <onlyflyer@gmail.com>
Tue, 2 Dec 2008 01:31:40 +0000 (20:31 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 2 Dec 2008 01:31:40 +0000 (20:31 -0500)
commitce397c0616de9bfb678569f1dfa655838a711594
tree7268154f484cb442f25a5876697f211bef9dd7c5
parentea6a478ed9758cb0f5af228104b9434840aa20ff
Btrfs: Fix cow semantic in run_delalloc_nocow()

The file preallocation code reversed the logic to force nodatacow.
This fixes it.
fs/btrfs/inode.c