]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[GFS2] Fix gfs2_rename deadlock
authorS. Wendy Cheng <wcheng@redhat.com>
Thu, 18 Jan 2007 21:07:03 +0000 (16:07 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:36:31 +0000 (13:36 -0500)
commit87d21e07f3880b8d489f0b4a639deb1362101838
tree20b41fc6dad45363b81a9e44daf5b278f532f183
parent6c93fd1e578669364e026a0d44c669b871e2a8c4
[GFS2] Fix gfs2_rename deadlock

Second round of gfs2_rename lock re-ordering to allow Anaconda adding
root partition on top of gfs2. Previous to this patch the recursive
lock detector in glock.c can be triggered due to attempting to lock
the rgrp twice. This fixes it by checking to see whether the rgrp
is already locked.

This fixes Red Hat bugzilla #221237

Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c
fs/gfs2/inode.h
fs/gfs2/ops_inode.c