]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ceph: define new argument structure for send_cap_msg
authorJeff Layton <jlayton@redhat.com>
Thu, 10 Nov 2016 12:42:03 +0000 (07:42 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:54:28 +0000 (23:54 +0100)
commit0ff8bfb394124a7ff4f5a4cd3dc9e8dc52dbe5c9
treef744edba8e8da8ae257a2aa5c7f4c903096fda62
parent9670079f5f0a52b4ddcc16c407cfe9ff42633e04
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>
fs/ceph/caps.c