]> git.baikalelectronics.ru Git - kernel.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)
commite29b85cbc066500ce937c20a225601091303042e
tree3cde9016353e20e4c52cc01a652bb87461809520
parentac8fe8ab53b7d4ea493ec02f507a223baf58d91c
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