]> 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)
commit624fb8896851f3e474f02051c7f8d24e5e251afc
tree3cde9016353e20e4c52cc01a652bb87461809520
parent6dc35e2ddaae08b724669c52b96898146c98a436
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