aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2011-02-24 00:39:23 -0500
committerSteve French <sfrench@us.ibm.com>2011-05-19 10:10:47 -0400
commit0eff0e26777430bcfee1ef47bd90250858ada431 (patch)
tree2beee1db7ff0fdbc013fe96b662ea3c7ea380d74 /fs/cifs/cifsproto.h
parent9b6763e0aacf245b58687a372816a0a4aabf2b1e (diff)
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/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 8096f27ad9a8..34bbd5cf46d0 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -386,6 +386,12 @@ extern int calc_seckey(struct cifsSesInfo *);
386extern void calc_lanman_hash(const char *password, const char *cryptkey, 386extern void calc_lanman_hash(const char *password, const char *cryptkey,
387 bool encrypt, char *lnm_session_key); 387 bool encrypt, char *lnm_session_key);
388#endif /* CIFS_WEAK_PW_HASH */ 388#endif /* CIFS_WEAK_PW_HASH */
389#ifdef CONFIG_CIFS_DNOTIFY_EXPERIMENTAL /* unused temporarily */
390extern int CIFSSMBNotify(const int xid, struct cifsTconInfo *tcon,
391 const int notify_subdirs, const __u16 netfid,
392 __u32 filter, struct file *file, int multishot,
393 const struct nls_table *nls_codepage);
394#endif /* was needed for dnotify, and will be needed for inotify when VFS fix */
389extern int CIFSSMBCopy(int xid, 395extern int CIFSSMBCopy(int xid,
390 struct cifsTconInfo *source_tcon, 396 struct cifsTconInfo *source_tcon,
391 const char *fromName, 397 const char *fromName,
@@ -393,10 +399,6 @@ extern int CIFSSMBCopy(int xid,
393 const char *toName, const int flags, 399 const char *toName, const int flags,
394 const struct nls_table *nls_codepage, 400 const struct nls_table *nls_codepage,
395 int remap_special_chars); 401 int remap_special_chars);
396extern int CIFSSMBNotify(const int xid, struct cifsTconInfo *tcon,
397 const int notify_subdirs, const __u16 netfid,
398 __u32 filter, struct file *file, int multishot,
399 const struct nls_table *nls_codepage);
400extern ssize_t CIFSSMBQAllEAs(const int xid, struct cifsTconInfo *tcon, 402extern ssize_t CIFSSMBQAllEAs(const int xid, struct cifsTconInfo *tcon,
401 const unsigned char *searchName, 403 const unsigned char *searchName,
402 const unsigned char *ea_name, char *EAData, 404 const unsigned char *ea_name, char *EAData,