diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-11 06:52:13 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-11 06:52:13 +0400 |
commit | 4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 (patch) | |
tree | 2c2cce67494a43c7cd35063435ac0d18a85dbe4d /fs/cifs/cifsfs.c | |
parent | 34210f33025a3256b9ac3f0a182f02f1879140cb (diff) | |
download | linux-4ca9c190d902caa7efb899a4c7fc8c6e6d926e95.tar.xz |
[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.c | 4 |
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 */ |