From e69eaaf93626e87dd93b345e1c84ffdd6c66ce6c Mon Sep 17 00:00:00 2001 From: Kinglong Mee Date: Wed, 6 May 2015 16:17:40 -0400 Subject: security information number as, 1 1 0 0 It's caused by commit 4a1ad4aa30, "mountd: Enable all auth flavors on pseudofs exports" This patch removes duplicate secinfo and invalid secinfo (zero). Acked-by: Scott Mayhew Signed-off-by: Kinglong Mee Signed-off-by: Steve Dickson --- utils/mountd/v4root.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/mountd/v4root.c') diff --git a/utils/mountd/v4root.c b/utils/mountd/v4root.c index 429ebb8..d521725 100644 --- a/utils/mountd/v4root.c +++ b/utils/mountd/v4root.c @@ -69,6 +69,9 @@ set_pseudofs_security(struct exportent *pseudo, int flags) for (flav = flav_map; flav < flav_map + flav_map_size; flav++) { struct sec_entry *new; + if (!flav->fnum) + continue; + i = secinfo_addflavor(flav, pseudo); new = &pseudo->e_secinfo[i]; -- cgit