Dmitry Monakhov from OpenVZ linux kernel team reports about wrong locking order in gfs_get_parent(). Almost all coresponding places was fixed in gfs-kmod-0.1.19-7.el5, but gfs_get_parrent() was missed. The problem is fixed by attached patch.
Created attachment 269561 [details] Fix wrong locking order in gfs_get_parent()
This is probably an oversight of mine while doing last round of NFS fixes. Will check into this.
Patch checked into CVS today - should be ready for RHEL 5.2.
CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: wcheng 2008-01-02 15:07:07 Modified files: gfs-kernel/src/gfs: ops_export.c Log message: Dmitry Monakhov from OpenVZ linux kernel team reports about wrong locking order in gfs_get_parent(). Patch submitted by Vasily Averin (vvs) under Red Hat bugzilla 400651 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_export.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.8.2.3&r2=1.8.2.4
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0348.html