* Allocate a lock edge from the free list */
| 868 | * Allocate a lock edge from the free list |
| 869 | */ |
| 870 | static struct lockf_edge * |
| 871 | lf_alloc_edge(void) |
| 872 | { |
| 873 | |
| 874 | return (malloc(sizeof(struct lockf_edge), M_LOCKF, M_WAITOK|M_ZERO)); |
| 875 | } |
| 876 | |
| 877 | /* |
| 878 | * Free a lock edge. |