Loading fs/cifs/cifsfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading fs/cifs/cifsfs.h +2 −2 Original line number Diff line number Diff line Loading @@ -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 */ fs/cifs/export.c +2 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading @@ -63,5 +63,5 @@ const struct export_operations cifs_export_ops = { .encode_fs = */ }; #endif /* CIFS_NFSD_EXPORT */ #endif /* CONFIG_CIFS_NFSD_EXPORT */ Loading
fs/cifs/cifsfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -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; Loading
fs/cifs/cifsfs.h +2 −2 Original line number Diff line number Diff line Loading @@ -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 */
fs/cifs/export.c +2 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading @@ -63,5 +63,5 @@ const struct export_operations cifs_export_ops = { .encode_fs = */ }; #endif /* CIFS_NFSD_EXPORT */ #endif /* CONFIG_CIFS_NFSD_EXPORT */