Yoni Couriel has uploaded this change for review.

View Change

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@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 change 1202551. To unsubscribe, or for help writing mail filters, visit settings.

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@google.com>