From: Steve Dickson Date: Wed, 17 Dec 2008 21:41:35 +0000 (-0500) Subject: statd: not unlinking host files X-Git-Tag: nfs-utils-1-1-5~40 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=bc870150cc2116584aee288d15ac2b9a2f825ff5;hp=bc870150cc2116584aee288d15ac2b9a2f825ff5 statd: not unlinking host files Statd is not unlinking host files during SM_UNMON and SM_UNMON_ALL calls because the given host is still on the run-time notify list (rtnl) and the check flag is set when xunlink() is called. But the next thing the caller of xunlink() does is remove the host from the rtnl list which means the unlink will never happen. So this patch removes the check flag from xunlink() since its not needed and correctly allocates and frees memory used by xunlink(). Signed-off-by: Steve Dickson ---