cifs: fix fh_mutex locking in cifs_reopen_file
authorJeff Layton <jlayton@redhat.com>
Sat, 27 Jun 2009 11:04:55 +0000 (07:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:50:22 +0000 (16:50 -0700)
commitd1ad6a3b00b1580b8dbdedddbd0d1d65411c65f8
treef741513d370e62bb583d68a7cd0aa61b2fcef0a5
parent562021a44981b9ca932e004a503576865d627811
cifs: fix fh_mutex locking in cifs_reopen_file

commit f0a71eb820596bd8f6abf64beb4cb181edaa2341 upstream.

Fixes a regression caused by commit a6ce4932fbdbcd8f8e8c6df76812014351c32892

When this lock was converted to a mutex, the locks were turned into
unlocks and vice-versa.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/file.c