diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2011-01-19 21:13:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-21 20:38:46 (GMT) |
commit | e26a755211c72ccfc52faf4e647757a058eb131a (patch) | |
tree | 1dd1be42988f4585496d9050a915f64eb910932a /drivers/staging/pohmelfs | |
parent | 4ac638b2ce0738183019c9fe72a8cd1259eb2ad1 (diff) | |
download | linux-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/dir.c b/drivers/staging/pohmelfs/dir.c index 059e9d2..9732a96 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; } |