From: Josef Bacik Date: Thu, 21 Feb 2013 20:28:28 +0000 (-0500) Subject: Btrfs: make sure NODATACOW also gets NODATASUM set X-Git-Tag: v3.9-rc1~17^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2bdf9a8f79052e9577936cbe5696c0e232aa0e3;p=pandora-kernel.git Btrfs: make sure NODATACOW also gets NODATASUM set A user reported hitting the BUG_ON() in btrfs_finished_ordered_io() where we had csums on a NOCOW extent. This can happen if we have NODATACOW set but not NODATASUM set, which can happen in two cases, either we mount with -o nodatacow and then write into preallocated space, or chattr +C a directory and move a file into that directory. Liu has fixed the move case in a different place, but this fixes the mount -o nodatacow case. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed