]> git.baikalelectronics.ru Git - kernel.git/commit
dax: Make sure the unlocking entry isn't locked
authorMatthew Wilcox <willy@infradead.org>
Sat, 10 Nov 2018 01:09:37 +0000 (20:09 -0500)
committerMatthew Wilcox <willy@infradead.org>
Fri, 16 Nov 2018 21:38:50 +0000 (16:38 -0500)
commit5719d459b692c9a53e2e6a359561bcf53981b054
tree838dbe7e08ee992a51e5a38236f3df0cf6260c18
parent1fc7969c7fa3a9f190650e3422c2312e225eb087
dax: Make sure the unlocking entry isn't locked

I wrote the semantics in the commit message, but didn't document it in
the source code.  Use a BUG_ON instead (if any code does do this, it's
really buggy; we can't recover and it's worth taking the machine down).

Signed-off-by: Matthew Wilcox <willy@infradead.org>
fs/dax.c