From: Steven Whitehouse Date: Fri, 4 Aug 2006 19:41:22 +0000 (-0400) Subject: [GFS2] Fix lock ordering bug in page fault path X-Git-Tag: v2.6.19-rc1~32^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a1cc6bdabf5ed148b48808ad1a418d87f5e6bf;p=pandora-kernel.git [GFS2] Fix lock ordering bug in page fault path Mmapped files were able to trigger a lock ordering bug. Private maps do not need to take the glock so early on. Shared maps do unfortunately, however we can get around that by adding a flag into the flags for the struct gfs2_file. This only works because we are taking an exclusive lock at this point, so we know that nobody else can be racing with us. Fixes Red Hat bugzilla: #201196 Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed