affs: fix missing unlocks in affs_remove_link
authorChristoph Hellwig <hch@lst.de>
Fri, 9 May 2008 10:35:29 +0000 (12:35 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:43:56 +0000 (14:43 -0400)
commitec1ab0abde0af586a59541ad71841f022dcac3e7
tree8614a3633f5d463674479fd7f28ca4dcb1b0fcf8
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
affs: fix missing unlocks in affs_remove_link

In two error cases affs_remove_link doesn't call affs_unlock_dir to
release the i_hash_lock semaphore.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/affs/amigaffs.c