diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-11 23:55:59 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 17:53:55 +0100 |
commit | 77a3ef33e2de6fc8aabd7cb1700bfef81757c28a (patch) | |
tree | bb403f4517d49c7756921a70ba27ddce3963a05d /fs/lockd/clntproc.c | |
parent | NSM: Refactor nsm_handle creation into a helper function (diff) | |
download | linux-77a3ef33e2de6fc8aabd7cb1700bfef81757c28a.tar.xz linux-77a3ef33e2de6fc8aabd7cb1700bfef81757c28a.zip |
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>
Diffstat (limited to 'fs/lockd/clntproc.c')
0 files changed, 0 insertions, 0 deletions