mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
locks: use list_first_entry_or_null()
Simplify the code with list_first_entry_or_null(). Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
This commit is contained in:
parent
95ace75414
commit
8ace5dfb98
1 changed files with 4 additions and 6 deletions
10
fs/locks.c
10
fs/locks.c
Loading…
Add table
Add a link
Reference in a new issue