summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-09-09 11:57:15 +0100
committerMark Brown <broonie@kernel.org>2026-09-09 11:57:15 +0100
commit4310a6799fb1f5cb849f763435fedae61551dcad (patch)
treedc0bc954b8c21697a351327522e4b4b89cc23b86 /fs
parent6a9573b005d7be93ebd51a4780ba64dd163aff43 (diff)
parentf76017a7663c4ce5e379f8a8d39f032bdb1fd865 (diff)
downloadlinux-next-fs-current.tar.gz
linux-next-fs-current.zip
Merge branch 'nfsd-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxfs-current
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/export.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index a7ebce53faec..b6e0c543e028 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1005,7 +1005,8 @@ static int nfsd_nl_parse_one_export(struct cache_detail *cd,
goto out_uuid;
err = 0;
- nfsd4_setup_layout_type(&exp);
+ if (exp.ex_flags & NFSEXP_PNFS)
+ nfsd4_setup_layout_type(&exp);
}
expp = svc_export_lookup(&exp);