ext4: Take page lock before looking at attached buffer_heads flags
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 10 Sep 2009 02:36:03 +0000 (22:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Sep 2009 02:36:03 +0000 (22:36 -0400)
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 <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found