* Remove all in-coming edges from lock x. */
| 969 | * Remove all in-coming edges from lock x. |
| 970 | */ |
| 971 | static void |
| 972 | lf_remove_incoming(struct lockf_entry *x) |
| 973 | { |
| 974 | struct lockf_edge *e; |
| 975 | |
| 976 | while ((e = LIST_FIRST(&x->lf_inedges)) != NULL) { |
| 977 | lf_remove_edge(e); |
| 978 | } |
| 979 | } |
| 980 | |
| 981 | /* |
| 982 | * Walk the list of locks for the file and create an out-going edge |
no test coverage detected