diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-12-09 13:55:12 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-01-08 13:42:42 +0000 |
commit | 24b977b5fdea09bf356428870d32c09a275c8a3e (patch) | |
tree | 60b93ab4d8ac034952d658a35057d5e729bd331a /fs/gfs2/xattr.c | |
parent | 56aa616a03feca630d5afce647367a5d8cfc67b8 (diff) | |
download | linux-24b977b5fdea09bf356428870d32c09a275c8a3e.tar.gz linux-24b977b5fdea09bf356428870d32c09a275c8a3e.tar.bz2 linux-24b977b5fdea09bf356428870d32c09a275c8a3e.zip |
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>
Diffstat (limited to 'fs/gfs2/xattr.c')
0 files changed, 0 insertions, 0 deletions