Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> --- fs/ntfs/namei.c | 2 ++ fs/ntfs/super.c | 2 ++ 2 files changed, 4 insertions(+) --- a/fs/ntfs/namei.c +++ b/fs/ntfs/namei.c @@ -363,6 +363,7 @@ struct inode_operations ntfs_dir_inode_o .lookup = ntfs_lookup, /* VFS: Lookup directory. */ }; +#if defined(CONFIG_EXPORTFS) || defined(CONFIG_EXPORTFS_MODULE) /** * ntfs_get_parent - find the dentry of the parent of a given directory dentry * @child_dent: dentry of the directory whose parent directory to find @@ -523,3 +524,4 @@ struct export_operations ntfs_export_ops given a file handle sub-fragment. */ }; +#endif --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c @@ -2967,7 +2967,9 @@ #endif /* ! NTFS_RW */ default_upcase = NULL; } mutex_unlock(&ntfs_lock); +#if defined(CONFIG_EXPORTFS) || defined(CONFIG_EXPORTFS_MODULE) sb->s_export_op = &ntfs_export_ops; +#endif lock_kernel(); lockdep_on(); return 0; - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html