kernel_optimize_test/fs/afs
David Howells 18ac61853c afs: Fix callback handling
In some circumstances, the callback interest pointer is NULL, so in such a
case we can't dereference it when checking to see if the callback is
broken.  This causes an oops in some circumstances.

Fix this by replacing the function that worked out the aggregate break
counter with one that actually does the comparison, and then make that
return true (ie. broken) if there is no callback interest as yet (ie. the
pointer is NULL).

Fixes: 68251f0a68 ("afs: Fix whole-volume callback handling")
Signed-off-by: David Howells <dhowells@redhat.com>
2018-10-24 00:41:09 +01:00
..
addr_list.c afs: Eliminate the address pointer from the address list cursor 2018-10-24 00:41:09 +01:00
afs_cm.h
afs_fs.h
afs_vl.h
afs.h afs: Expand data structure fields to support YFS 2018-10-24 00:41:08 +01:00
cache.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
callback.c afs: Implement YFS support in the fs client 2018-10-24 00:41:08 +01:00
cell.c afs: Fix TTL on VL server and address lists 2018-10-24 00:41:07 +01:00
cmservice.c afs: Implement the YFS cache manager service 2018-10-24 00:41:08 +01:00
dir_edit.c
dir.c afs: Implement YFS support in the fs client 2018-10-24 00:41:08 +01:00
dynroot.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
file.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
flock.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
fsclient.c afs: Fix callback handling 2018-10-24 00:41:09 +01:00
inode.c afs: Calc callback expiry in op reply delivery 2018-10-24 00:41:08 +01:00
internal.h afs: Fix callback handling 2018-10-24 00:41:09 +01:00
Kconfig afs: Allow dumping of server cursor on operation failure 2018-10-24 00:41:09 +01:00
main.c afs: Fix cell proc list 2018-10-12 13:18:57 +02:00
Makefile afs: Implement YFS support in the fs client 2018-10-24 00:41:08 +01:00
misc.c
mntpt.c afs: Add a couple of tracepoints to log I/O errors 2018-10-24 00:41:07 +01:00
netdevices.c afs: Implement network namespacing 2018-05-23 12:01:15 +01:00
proc.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
protocol_yfs.h afs: Implement YFS support in the fs client 2018-10-24 00:41:08 +01:00
rotate.c afs: Allow dumping of server cursor on operation failure 2018-10-24 00:41:09 +01:00
rxrpc.c afs: Eliminate the address pointer from the address list cursor 2018-10-24 00:41:09 +01:00
security.c afs: Fix callback handling 2018-10-24 00:41:09 +01:00
server_list.c afs: Fix refcounting in callback registration 2018-05-14 13:17:35 +01:00
server.c afs: Eliminate the address pointer from the address list cursor 2018-10-24 00:41:09 +01:00
super.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
vl_list.c afs: Implement VL server rotation 2018-10-24 00:41:07 +01:00
vl_rotate.c afs: Eliminate the address pointer from the address list cursor 2018-10-24 00:41:09 +01:00
vlclient.c afs: Implement VL server rotation 2018-10-24 00:41:07 +01:00
volume.c afs: Eliminate the address pointer from the address list cursor 2018-10-24 00:41:09 +01:00
write.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
xattr.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
xdr_fs.h
yfsclient.c afs: Fix callback handling 2018-10-24 00:41:09 +01:00