summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-10-11 04:52:13 +0200
committerSteve French <sfrench@us.ibm.com>2005-10-11 04:52:13 +0200
commit4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 (patch)
tree2c2cce67494a43c7cd35063435ac0d18a85dbe4d /fs/cifs/cifsfs.c
parent[CIFS] Still missing a line from previous fix (diff)
downloadlinux-4ca9c190d902caa7efb899a4c7fc8c6e6d926e95.tar.xz
linux-4ca9c190d902caa7efb899a4c7fc8c6e6d926e95.zip
[CIFS] Fix oops in experimental notify code (when CONFIG_CIFS_EXPERIMENTAL
was turned on). Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 3bc9db522600..d2d16a9c1f05 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -901,6 +901,10 @@ init_cifs(void)
INIT_LIST_HEAD(&GlobalSMBSessionList);
INIT_LIST_HEAD(&GlobalTreeConnectionList);
INIT_LIST_HEAD(&GlobalOplock_Q);
+#ifdef CONFIG_CIFS_EXPERIMENTAL
+ INIT_LIST_HEAD(&GlobalDnotifyReqList);
+ INIT_LIST_HEAD(&GlobalDnotifyRsp_Q);
+#endif
/*
* Initialize Global counters
*/