[CIFS] Fix oops when slow oplock process races with unmount
authorSteve French <sfrench@us.ibm.com>
Tue, 15 Apr 2008 18:40:48 +0000 (18:40 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 15 Apr 2008 18:40:48 +0000 (18:40 +0000)
commit5d941ca628a142f44d7a2440fe919f8e8691f590
treefb1028cc422187b2507f3830eac5dfc92c7eb29d
parente48d199ba10bb8267f491a3a585ca4a833e950a4
[CIFS] Fix oops when slow oplock process races with unmount

If a tcon is being freed in call tconInfoFree, clean up any entries that may
exist in global oplock queue as the tcon structure hanging off of those entries
will be invalid and can cause oops while accesing any elements in the
tcon structure.

Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/transport.c