From: Jeff Layton Date: Fri, 5 Feb 2010 20:09:22 +0000 (-0500) Subject: lockd: don't clear sm_monitored on nsm_reboot_lookup X-Git-Tag: v2.6.34-rc1~27^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e469af97eed947ba9204712601281a69ae8eb6c;p=pandora-kernel.git lockd: don't clear sm_monitored on nsm_reboot_lookup When lockd gets a notify downcall from statd, it'll search its hosts cache and then clear the sm_monitored bit on the host it finds. The idea is apparently to make lockd redo a SM_MON on the next lock request. This is unnecessary and causes the kernel's NSM cache to go out of sync with statd. statd doesn't stop monitoring a host when it gets a SM_NOTIFY and there's no guarantee that another lock will occur after the reclaim and before the unmount. In that event, no SM_UNMON will occur. Signed-off-by: Jeff Layton Reviewed-by: Chuck Lever Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed