mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ceph: define new argument structure for send_cap_msg
When we get to this many arguments, it's hard to work with positional parameters. send_cap_msg is already at 25 arguments, with more needed. Define a new args structure and pass a pointer to it to send_cap_msg. Eventually it might make sense to embed one of these inside ceph_cap_snap instead of tracking individual fields. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
9670079f5f
commit
0ff8bfb394
1 changed files with 126 additions and 99 deletions
217
fs/ceph/caps.c
217
fs/ceph/caps.c
Loading…
Add table
Add a link
Reference in a new issue