Searched refs:want_write (Results 1 – 1 of 1) sorted by relevance
1546 bool want_write = !(flags & LEASE_BREAK_OPEN_RDONLY); in __break_lease() local1558 new_fl = lease_alloc(NULL, type, want_write ? F_WRLCK : F_RDLCK); in __break_lease()1587 if (want_write) { in __break_lease()