diff options
author | Jeffle Xu <[email protected]> | 2021-12-28 20:44:19 +0800 |
---|---|---|
committer | David Howells <[email protected]> | 2022-01-21 21:36:28 +0000 |
commit | cef0223191452b3c493a1070baad9ffe806babac (patch) | |
tree | 9b9564268738c32273f3654c1a2364cc04dc21e5 /net/lapb/lapb_timer.c | |
parent | c522e3ad296b7b692ed3960dfde467f2a34b434f (diff) |
netfs: Make ops->init_rreq() optional
Make the ops->init_rreq() callback optional. This isn't required for the
erofs changes I'm implementing to do on-demand read through fscache[1].
Further, ceph has an empty init_rreq method that can then be removed and
it's marked optional in the documentation.
Signed-off-by: Jeffle Xu <[email protected]>
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]/ [1]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/164251410387.3435901.2504600788262093313.stgit@warthog.procyon.org.uk/ # v1
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions