Zheng Zeng has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1204509?usp=email ) Change subject: nfs4_pseudo.c: Fix the issue where subexport get disconnected from Pseudofs ...................................................................... nfs4_pseudo.c: Fix the issue where subexport get disconnected from Pseudofs Assume there are two exports: /exp v3,v4 /exp/subexp v3,v4 Use the dbus command to change the /exp protocols from v3,v4 to v3. As a result, /exp will be unmounted. During the pruning phase, /exp/subexp will be unmounted first. However, it will not be remounted because /exp/subexp does not meet the condition "export->config_gen >= generation". Eventually, /exp/subexp will get disconnected from Pseudofs. This patch removes the condition "export->config_gen >= generation" to remount /exp/subexp, When /exp is to be unmounted. This patch will not cause pseudofs structural errors in other scenarios. Change-Id: I85edfeb199f1f52823d11dc9dd1fb84f35a4860a Signed-off-by: izxl007 <zengzheng007@163.com> --- M src/Protocols/NFS/nfs4_pseudo.c 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/09/1204509/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1204509?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I85edfeb199f1f52823d11dc9dd1fb84f35a4860a Gerrit-Change-Number: 1204509 Gerrit-PatchSet: 1 Gerrit-Owner: Zheng Zeng <zengzheng007@163.com>