Skip to content
Commit 24b977b5 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

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: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 56aa616a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment