]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cifs: Fix typo 'CIFS_NFSD_EXPORT'
authorPaul Bolle <pebolle@tiscali.nl>
Wed, 12 Oct 2011 12:14:04 +0000 (14:14 +0200)
committerSteve French <smfrench@gmail.com>
Thu, 13 Oct 2011 04:41:27 +0000 (23:41 -0500)
It should be 'CONFIG_CIFS_NFSD_EXPORT'. No-one noticed because that
symbol depends on BROKEN.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c
fs/cifs/cifsfs.h
fs/cifs/export.c

index 7986d330cbb521868e3b2e344c2f606aef3d1b96..aa8fe7cee0b44ac33fc3ddf2b6fed0d1a9dacc5c 100644 (file)
@@ -132,12 +132,12 @@ cifs_read_super(struct super_block *sb)
        else
                sb->s_d_op = &cifs_dentry_ops;
 
-#ifdef CIFS_NFSD_EXPORT
+#ifdef CONFIG_CIFS_NFSD_EXPORT
        if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) {
                cFYI(1, "export ops supported");
                sb->s_export_op = &cifs_export_ops;
        }
-#endif /* CIFS_NFSD_EXPORT */
+#endif /* CONFIG_CIFS_NFSD_EXPORT */
 
        return 0;
 
index 95da8027983d2a6b47b7eecafb18da75e8335249..d9dbaf869cd13e8e761bedadcb9c6a02aa94e551 100644 (file)
@@ -121,9 +121,9 @@ extern ssize_t      cifs_getxattr(struct dentry *, const char *, void *, size_t);
 extern ssize_t cifs_listxattr(struct dentry *, char *, size_t);
 extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
 
-#ifdef CIFS_NFSD_EXPORT
+#ifdef CONFIG_CIFS_NFSD_EXPORT
 extern const struct export_operations cifs_export_ops;
-#endif /* CIFS_NFSD_EXPORT */
+#endif /* CONFIG_CIFS_NFSD_EXPORT */
 
 #define CIFS_VERSION   "1.75"
 #endif                         /* _CIFSFS_H */
index 55d87ac5200024a7cc2def363c13183ab0e95b7e..9c7ecdccf2f3438dfff7e6a8fd4c356e4da9542c 100644 (file)
@@ -45,7 +45,7 @@
 #include "cifs_debug.h"
 #include "cifsfs.h"
 
-#ifdef CIFS_NFSD_EXPORT
+#ifdef CONFIG_CIFS_NFSD_EXPORT
 static struct dentry *cifs_get_parent(struct dentry *dentry)
 {
        /* BB need to add code here eventually to enable export via NFSD */
@@ -63,5 +63,5 @@ const struct export_operations cifs_export_ops = {
        .encode_fs =  */
 };
 
-#endif /* CIFS_NFSD_EXPORT */
+#endif /* CONFIG_CIFS_NFSD_EXPORT */