cifs: protect GlobalOplock_Q with its own spinlock
authorJeff Layton <jlayton@redhat.com>
Fri, 28 Aug 2009 14:11:11 +0000 (10:11 -0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 1 Sep 2009 22:25:29 +0000 (22:25 +0000)
Right now, the GlobalOplock_Q is protected by the GlobalMid_Lock. That
lock is also used for completely unrelated purposes (mostly for managing
the global mid queue). Give the list its own dedicated spinlock
(cifs_oplock_lock) and rename the list to cifs_oplock_list to
eliminate the camel-case.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found