[PATCH 3.16.y-ckt 077/180] locks: fix unlock when fcntl_setlk races with a close

2016-02-03 Thread Luis Henriques
3.16.7-ckt24 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jeff Layton commit 7f3697e24dc3820b10f445a4a7d914fc356012d1 upstream. Dmitry reported that he was able to reproduce the WARN_ON_ONCE

[PATCH 3.16.y-ckt 077/180] locks: fix unlock when fcntl_setlk races with a close

2016-02-03 Thread Luis Henriques
3.16.7-ckt24 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jeff Layton commit 7f3697e24dc3820b10f445a4a7d914fc356012d1 upstream. Dmitry reported that he was able to