Skip to content
Commit 2dfb928f authored by Jeff Layton's avatar Jeff Layton
Browse files

locks: move locks_free_lock calls in do_fcntl_add_lease outside spinlock



There's no need to call locks_free_lock here while still holding the
i_lock. Defer that until the lock has been dropped.

Acked-by: default avatarJ. Bruce Fields <bfields@fieldses.org>
Signed-off-by: default avatarJeff Layton <jlayton@primarydata.com>
parent ed9814d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment