diff options
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r-- | fs/nfsd/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index c3e3b6e55ae2..900c3ae94adc 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c | |||
@@ -691,8 +691,7 @@ static int svc_export_match(struct cache_head *a, struct cache_head *b) | |||
691 | struct svc_export *orig = container_of(a, struct svc_export, h); | 691 | struct svc_export *orig = container_of(a, struct svc_export, h); |
692 | struct svc_export *new = container_of(b, struct svc_export, h); | 692 | struct svc_export *new = container_of(b, struct svc_export, h); |
693 | return orig->ex_client == new->ex_client && | 693 | return orig->ex_client == new->ex_client && |
694 | orig->ex_path.dentry == new->ex_path.dentry && | 694 | path_equal(&orig->ex_path, &new->ex_path); |
695 | orig->ex_path.mnt == new->ex_path.mnt; | ||
696 | } | 695 | } |
697 | 696 | ||
698 | static void svc_export_init(struct cache_head *cnew, struct cache_head *citem) | 697 | static void svc_export_init(struct cache_head *cnew, struct cache_head *citem) |
@@ -1159,6 +1158,7 @@ static struct flags { | |||
1159 | { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, | 1158 | { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, |
1160 | { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, | 1159 | { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, |
1161 | { NFSEXP_V4ROOT, {"v4root", ""}}, | 1160 | { NFSEXP_V4ROOT, {"v4root", ""}}, |
1161 | { NFSEXP_PNFS, {"pnfs", ""}}, | ||
1162 | { 0, {"", ""}} | 1162 | { 0, {"", ""}} |
1163 | }; | 1163 | }; |
1164 | 1164 | ||