mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
cifs: Fix typo 'CIFS_NFSD_EXPORT'
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>
This commit is contained in:
parent
4a29a0bd1d
commit
f3a6a60e4c
3 changed files with 6 additions and 6 deletions
|
@ -132,12 +132,12 @@ cifs_read_super(struct super_block *sb)
|
||||||
else
|
else
|
||||||
sb->s_d_op = &cifs_dentry_ops;
|
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) {
|
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) {
|
||||||
cFYI(1, "export ops supported");
|
cFYI(1, "export ops supported");
|
||||||
sb->s_export_op = &cifs_export_ops;
|
sb->s_export_op = &cifs_export_ops;
|
||||||
}
|
}
|
||||||
#endif /* CIFS_NFSD_EXPORT */
|
#endif /* CONFIG_CIFS_NFSD_EXPORT */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
@ -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 ssize_t cifs_listxattr(struct dentry *, char *, size_t);
|
||||||
extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
|
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;
|
extern const struct export_operations cifs_export_ops;
|
||||||
#endif /* CIFS_NFSD_EXPORT */
|
#endif /* CONFIG_CIFS_NFSD_EXPORT */
|
||||||
|
|
||||||
#define CIFS_VERSION "1.75"
|
#define CIFS_VERSION "1.75"
|
||||||
#endif /* _CIFSFS_H */
|
#endif /* _CIFSFS_H */
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#include "cifs_debug.h"
|
#include "cifs_debug.h"
|
||||||
#include "cifsfs.h"
|
#include "cifsfs.h"
|
||||||
|
|
||||||
#ifdef CIFS_NFSD_EXPORT
|
#ifdef CONFIG_CIFS_NFSD_EXPORT
|
||||||
static struct dentry *cifs_get_parent(struct dentry *dentry)
|
static struct dentry *cifs_get_parent(struct dentry *dentry)
|
||||||
{
|
{
|
||||||
/* BB need to add code here eventually to enable export via NFSD */
|
/* 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 = */
|
.encode_fs = */
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* CIFS_NFSD_EXPORT */
|
#endif /* CONFIG_CIFS_NFSD_EXPORT */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue