Yoni Couriel has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1202551?usp=email )
Change subject: src/MainNFSD/nfs_main.c: Truncate should be after taking the lock.
......................................................................
src/MainNFSD/nfs_main.c: Truncate should be after taking the lock.
If another Ganesha is using the PID file, we might truncate it even though we don't
have the lock.
Change-Id: I6edb89a045aa035c99f3910f22cd25a7a0fe5e34
Signed-off-by: Yoni Couriel <yonic(a)google.com>
---
M src/MainNFSD/nfs_main.c
1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/51/1202551/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1202551?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: I6edb89a045aa035c99f3910f22cd25a7a0fe5e34
Gerrit-Change-Number: 1202551
Gerrit-PatchSet: 1
Gerrit-Owner: Yoni Couriel <yonic(a)google.com>