| commit | b113746888c260a02f6ae1e92b0b9ef7e9c38993 | [log] [tgz] |
|---|---|---|
| author | J. Bruce Fields <bfields@citi.umich.edu> | Tue Dec 14 15:05:03 2010 +0000 |
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Dec 16 12:37:26 2010 -0500 |
| tree | ad9e89b3e5bae544d3a9b04bc8feb02d2ee4b17c | |
| parent | bf2695516db982e90a22fc94f93491b481796bb1 [diff] |
lockd: define host_for_each{_safe} macros
We've got a lot of loops like this, and I find them a little easier to
read with the macros. More such loops are coming.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
[ cel: Forward-ported to 2.6.37 ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>