Lines Matching refs:nfs_export
47 module_param_named(nfs_export, ovl_nfs_export_def, bool, 0644);
48 MODULE_PARM_DESC(nfs_export,
376 if (ofs->config.nfs_export != ovl_nfs_export_def)
377 seq_printf(m, ",nfs_export=%s", ofs->config.nfs_export ?
449 {OPT_NFS_EXPORT_ON, "nfs_export=on"},
450 {OPT_NFS_EXPORT_OFF, "nfs_export=off"},
570 config->nfs_export = true;
575 config->nfs_export = false;
664 /* Resolve nfs_export -> index dependency */
665 if (config->nfs_export && !config->index) {
667 pr_info("NFS export requires \"redirect_dir=nofollow\" on non-upper mount, falling back to nfs_export=off.\n");
668 config->nfs_export = false;
670 pr_err("conflicting options: nfs_export=on,index=off\n");
677 pr_info("disabling nfs_export due to index=off\n");
678 config->nfs_export = false;
685 /* Resolve nfs_export -> !metacopy dependency */
686 if (config->nfs_export && config->metacopy) {
688 pr_err("conflicting options: nfs_export=on,metacopy=on\n");
696 pr_info("disabling nfs_export due to metacopy=on\n");
697 config->nfs_export = false;
700 * There was an explicit nfs_export=on that resulted
703 pr_info("disabling metacopy due to nfs_export=on\n");
902 if ((ofs->config.nfs_export ||
905 ofs->config.nfs_export = false;
906 pr_warn("fs on '%s' does not support file handles, falling back to index=off,nfs_export=off.\n",
1390 if (ofs->config.nfs_export && !ofs->config.index) {
1391 pr_warn("NFS export requires \"index=on\", falling back to nfs_export=off.\n");
1392 ofs->config.nfs_export = false;
1514 if (!ofs->config.nfs_export && !ovl_upper_mnt(ofs))
1518 * We allow using single lower with null uuid for index and nfs_export
1562 if (ofs->config.index || ofs->config.nfs_export) {
1564 ofs->config.nfs_export = false;
1565 pr_warn("%s uuid detected in lower fs '%pd2', falling back to index=off,nfs_export=off.\n",
1903 ofs->config.nfs_export = ovl_nfs_export_def;
2010 if (ovl_upper_mnt(ofs) && ofs->config.nfs_export) {
2011 pr_warn("NFS export requires an index dir, falling back to nfs_export=off.\n");
2012 ofs->config.nfs_export = false;
2016 if (ofs->config.metacopy && ofs->config.nfs_export) {
2017 pr_warn("NFS export is not supported with metadata only copy up, falling back to nfs_export=off.\n");
2018 ofs->config.nfs_export = false;
2021 if (ofs->config.nfs_export)