aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2011-02-24 05:39:23 +0000
committerSteve French <sfrench@us.ibm.com>2011-05-19 14:10:47 +0000
commit0eff0e26777430bcfee1ef47bd90250858ada431 (patch)
tree2beee1db7ff0fdbc013fe96b662ea3c7ea380d74 /fs/cifs/cifsfs.c
parent9b6763e0aacf245b58687a372816a0a4aabf2b1e (diff)
downloadkernel_samsung_smdk4412-0eff0e26777430bcfee1ef47bd90250858ada431.zip
kernel_samsung_smdk4412-0eff0e26777430bcfee1ef47bd90250858ada431.tar.gz
kernel_samsung_smdk4412-0eff0e26777430bcfee1ef47bd90250858ada431.tar.bz2
Remove unused CIFSSMBNotify worker function
The CIFSSMBNotify worker is unused, pending changes to allow it to be called via inotify, so move it into its own experimental config option so it does not get built in, until the necessary VFS support is fixed. It used to be used in dnotify, but according to Jeff, inotify needs minor changes before we can reenable this. CC: Jeff Layton <jlayton@redhat.com> 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, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 0742c26..b45d38b 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -981,10 +981,10 @@ init_cifs(void)
int rc = 0;
cifs_proc_init();
INIT_LIST_HEAD(&cifs_tcp_ses_list);
-#ifdef CONFIG_CIFS_EXPERIMENTAL
+#ifdef CONFIG_CIFS_DNOTIFY_EXPERIMENTAL /* unused temporarily */
INIT_LIST_HEAD(&GlobalDnotifyReqList);
INIT_LIST_HEAD(&GlobalDnotifyRsp_Q);
-#endif
+#endif /* was needed for dnotify, and will be needed for inotify when VFS fix */
/*
* Initialize Global counters
*/