diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-08-26 09:38:26 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-08-27 13:33:10 +0100 |
commit | 0188d6c5807b65e2e20dcb75a668efbe5418b27e (patch) | |
tree | 419ee0e74cded399d2e4b9adf4dacf9f9dd31a3e /fs/ncpfs | |
parent | 72dbf4790fc6736f9cb54424245114acf0b0038c (diff) | |
download | kernel-common-0188d6c5807b65e2e20dcb75a668efbe5418b27e.tar.gz kernel-common-0188d6c5807b65e2e20dcb75a668efbe5418b27e.tar.bz2 kernel-common-0188d6c5807b65e2e20dcb75a668efbe5418b27e.zip |
GFS2: Fix & clean up GFS2 rename
This patch fixes a locking issue in the rename code by ensuring that we hold
the per sb rename lock over both directory and "other" renames which involve
different parent directories.
At the same time, this moved the (only called from one place) function
gfs2_ok_to_move into the file that its called from, so we can mark it
static. This should make a code a bit easier to follow.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Peter Staubach <staubach@redhat.com>
Diffstat (limited to 'fs/ncpfs')
0 files changed, 0 insertions, 0 deletions