projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CIFS] Fix oops when slow oplock process races with unmount
[firefly-linux-kernel-4.4.55.git]
/
fs
/
cifs
/
connect.c
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index 8dbfa97cd18ca6ae60ba6621e8e9214cb7a1641d..e171067301689dee90ed97de96fc2fcb7eb3f518 100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-3527,6
+3527,7
@@
cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb)
FreeXid(xid);
return 0;
}
+ DeleteTconOplockQEntries(cifs_sb->tcon);
tconInfoFree(cifs_sb->tcon);
if ((ses) && (ses->server)) {
/* save off task so we do not refer to ses later */