]> git.ipfire.org Git - people/ms/linux.git/commit - fs/dax.c
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)
commit7ae2ea7dc45e8250a74cfaaecdce578427669ae5
tree838dbe7e08ee992a51e5a38236f3df0cf6260c18
parent6d7cd8c1373746a93dc868ee9d38a82df78b38aa
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