From: Josef Bacik Date: Fri, 19 Nov 2010 14:41:10 +0000 (-0500) Subject: Btrfs: fix use after free in O_DIRECT X-Git-Tag: v2.6.37-rc6~30^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=955256f2c3e25c94ad373c43fbc38d2ac8af2a71;p=pandora-kernel.git Btrfs: fix use after free in O_DIRECT This fixes a bug where we use dip after we have freed it. Instead just use the file_offset that was passed to the function. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed