summaryrefslogtreecommitdiffstats
path: root/fs/locks.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-06-21 15:38:17 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-06-21 15:38:17 -0400
commitd9d1ca30505c6fed867e1724b16fdad0c281d7d1 (patch)
treeedcba6e6afe04246af51a1884fc6ad59b7f14de6 /fs/locks.c
parentbf9f424d9acf461fabcb0e9f47b356e08186d91f (diff)
downloadblackbird-op-linux-d9d1ca30505c6fed867e1724b16fdad0c281d7d1.tar.gz
blackbird-op-linux-d9d1ca30505c6fed867e1724b16fdad0c281d7d1.zip
[GFS2] Fix double locking problem in rename
The rename inode operation was trying to lock the same inode twice in the case of renaming with the source and destination directories the same. We now test for this and just lock once. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud