From: Josef Bacik Date: Tue, 22 Mar 2011 15:00:46 +0000 (-0400) Subject: Btrfs: don't allocate dip->csums when doing writes X-Git-Tag: v2.6.39-rc1~19^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98bc3149fad639c8f50c7110b961a2a2fe085eed;p=pandora-kernel.git Btrfs: don't allocate dip->csums when doing writes When doing direct writes we store the checksums in the ordered sum stuff in the ordered extent for writing them when the write completes, so we don't even use the dip->csums array. So if we're writing, don't bother allocating dip->csums since we won't use it anyway. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed