GFS2: rm on multiple nodes causes panic
commit72dbf4790fc6736f9cb54424245114acf0b0038c
authorBob Peterson <rpeterso@redhat.com>
Tue, 12 Aug 2008 18:39:29 +0000 (12 13:39 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 13 Aug 2008 09:00:12 +0000 (13 10:00 +0100)
tree9ed5bd66844fa0950d947bc5673292114e58e9ac
parent9b8df98fc8973ad1c5f0d7c4cf71c7fb84fe22c5
GFS2: rm on multiple nodes causes panic

This patch fixes a problem whereby simultaneous unlink, rmdir,
rename and link operations (e.g. rm -fR *) from multiple nodes
on the same GFS2 file system can cause kernel panics, hangs,
and/or memory corruption.  It also gets rid of all the non-rgrp
calls to gfs2_glock_nq_m.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_inode.c