diff options
author | NeilBrown <[email protected]> | 2017-10-23 11:53:49 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-11-03 15:00:34 +0100 |
commit | 3ac5a675caf4dde2788a7a1ac32b95986bffe901 (patch) | |
tree | 24af0d4ea5f7ef0a1592e2ccaebdedbcdefa3ffa /include/linux/fpga/fpga-mgr.h | |
parent | 60751d49e0a7fe93b8467bd8c50101cc9367c605 (diff) |
staging: lustre: ldlm: tidy list walking in ldlm_flock()
Use list_for_each_entry variants to
avoid the explicit list_entry() calls.
This allows us to use list_for_each_entry_safe_from()
instread of adding a local list-walking macro.
Also improve some comments so that it is more obvious
that the locks are sorted per-owner and that we need
to find the insertion point.
Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions