commit | 24b977b5fdea09bf356428870d32c09a275c8a3e | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Dec 09 13:55:12 2009 +0000 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Fri Jan 08 13:42:42 2010 +0000 |
tree | 60b93ab4d8ac034952d658a35057d5e729bd331a | |
parent | 56aa616a03feca630d5afce647367a5d8cfc67b8 [diff] |
GFS2: Fix locking bug in rename The rename code was taking a resource group lock in cases where it wasn't actually needed, this caused problems if the rename was resulting in an inode being unlinked. The patch ensures that we only take the rgrp lock early if it is really needed. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>