]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
FS-Cache: Check that there are no read ops when cookie relinquished
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 21:52:33 +0000 (21:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 21:58:25 +0000 (21:58 +0000)
commit0f972b5696c0a0677a9b3a18fee45cc0e8de4184
tree3cde9016353e20e4c52cc01a652bb87461809520
parent5f4f9f4af185d5e76c966d2d3420a61870c856e7
FS-Cache: Check that there are no read ops when cookie relinquished

Check that the netfs isn't trying to relinquish a cookie that still has read
operations in progress upon it.  If there are, then give log a warning and BUG.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/fscache/cookie.c