Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e143f5d2 authored by Jeff Layton's avatar Jeff Layton Committed by Greg Kroah-Hartman
Browse files

locks: don't check for race with close when setting OFD lock



commit 0752ba807b04ccd69cb4bc8bbf829a80ee208a3c upstream.

We don't clean out OFD locks on close(), so there's no need to check
for a race with them here. They'll get cleaned out at the same time
that flock locks are.

Signed-off-by: default avatarJeff Layton <jeff.layton@primarydata.com>
Acked-by: default avatar"J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
parent c4eafbc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment