2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00

Staging: pohmelfs/dir.c: Remove unneeded mutex_unlock() from pohmelfs_rename()

I do not see any reason for the mutex_unlock(&inode->i_mutex); in
pohmelfs_rename().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alexey Khoroshilov 2011-01-20 00:13:44 +03:00 committed by Greg Kroah-Hartman
parent 4ac638b2ce
commit e26a755211

View File

@ -1082,7 +1082,6 @@ err_out_exit:
clear_bit(NETFS_INODE_REMOTE_SYNCED, &pi->state);
mutex_unlock(&inode->i_mutex);
return err;
}