afs: Remove callback details from afs_callback_break struct
Remove unnecessary details of a broken callback, such as version, expiry and type, from the afs_callback_break struct as they're not actually used and make the list take more memory. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
@@ -310,14 +310,10 @@ void afs_break_callbacks(struct afs_server *server, size_t count,
|
||||
/* TODO: Sort the callback break list by volume ID */
|
||||
|
||||
for (; count > 0; callbacks++, count--) {
|
||||
_debug("- Fid { vl=%08llx n=%llu u=%u } CB { v=%u x=%u t=%u }",
|
||||
_debug("- Fid { vl=%08llx n=%llu u=%u }",
|
||||
callbacks->fid.vid,
|
||||
callbacks->fid.vnode,
|
||||
callbacks->fid.unique,
|
||||
callbacks->cb.version,
|
||||
callbacks->cb.expiry,
|
||||
callbacks->cb.type
|
||||
);
|
||||
callbacks->fid.unique);
|
||||
afs_break_one_callback(server, &callbacks->fid);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user