diff options
Diffstat (limited to 'utils/mountd/cache.c')
-rw-r--r-- | utils/mountd/cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 45012be..c8aa46f 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -371,8 +371,6 @@ export_matches(nfs_export *exp, char *dom, char *path, struct addrinfo *ai) static bool subexport(struct exportent *e1, struct exportent *e2) { char *p1 = e1->e_path, *p2 = e2->e_path; - size_t l2 = strlen(p2); - return e2->e_flags & NFSEXP_CROSSMOUNT && is_subdirectory(p1, p2); } |