summaryrefslogtreecommitdiff
path: root/drivers/staging/pohmelfs
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2011-01-20 00:13:44 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-21 23:38:46 +0300
commite26a755211c72ccfc52faf4e647757a058eb131a (patch)
tree1dd1be42988f4585496d9050a915f64eb910932a /drivers/staging/pohmelfs
parent4ac638b2ce0738183019c9fe72a8cd1259eb2ad1 (diff)
downloadlinux-e26a755211c72ccfc52faf4e647757a058eb131a.tar.xz
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>
Diffstat (limited to 'drivers/staging/pohmelfs')
-rw-r--r--drivers/staging/pohmelfs/dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/dir.c b/drivers/staging/pohmelfs/dir.c
index 059e9d2ddf6b..9732a9666cc4 100644
--- a/drivers/staging/pohmelfs/dir.c
+++ b/drivers/staging/pohmelfs/dir.c
@@ -1082,7 +1082,6 @@ err_out_exit:
clear_bit(NETFS_INODE_REMOTE_SYNCED, &pi->state);
- mutex_unlock(&inode->i_mutex);
return err;
}