From: Aneesh Kumar K.V Date: Thu, 10 Sep 2009 02:36:03 +0000 (-0400) Subject: ext4: Take page lock before looking at attached buffer_heads flags X-Git-Tag: v2.6.32-rc1~633^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a827eaffff07c7d58a4cb32158cbeb4849f4e33a;p=pandora-kernel.git ext4: Take page lock before looking at attached buffer_heads flags In order to check whether the buffer_heads are mapped we need to hold page lock. Otherwise a reclaim can cleanup the attached buffer_heads. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed