Home
last modified time | relevance | path

Searched hist:"77 a3ef33e2de6fc8aabd7cb1700bfef81757c28a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/lockd/
H A Dmon.cdiff 77a3ef33e2de6fc8aabd7cb1700bfef81757c28a Thu Dec 11 16:55:59 CST 2008 Chuck Lever <chuck.lever@oracle.com> NSM: More clean up of nsm_get_handle()

Clean up: refactor nsm_get_handle() so it is organized the same way that
nsm_reboot_lookup() is.

There is an additional micro-optimization here. This change moves the
"hostname & nsm_use_hostnames" test out of the list_for_each_entry()
clause in nsm_get_handle(), since it is loop-invariant.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>