* Remove all out-going edges from lock x. */
| 956 | * Remove all out-going edges from lock x. |
| 957 | */ |
| 958 | static void |
| 959 | lf_remove_outgoing(struct lockf_entry *x) |
| 960 | { |
| 961 | struct lockf_edge *e; |
| 962 | |
| 963 | while ((e = LIST_FIRST(&x->lf_outedges)) != NULL) { |
| 964 | lf_remove_edge(e); |
| 965 | } |
| 966 | } |
| 967 | |
| 968 | /* |
| 969 | * Remove all in-coming edges from lock x. |
no test coverage detected