Searched hist:"0 ff8bfb3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ceph/ |
H A D | caps.c | 0ff8bfb3 Thu Nov 10 06:42:03 CST 2016 Jeff Layton <jlayton@redhat.com> 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> 0ff8bfb3 Thu Nov 10 06:42:03 CST 2016 Jeff Layton <jlayton@redhat.com> 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>
|