]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: make ceph_osdc_notify{,_ack}() payload_len u32
authorIlya Dryomov <idryomov@gmail.com>
Mon, 25 Jun 2018 15:26:55 +0000 (17:26 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 2 Aug 2018 19:26:11 +0000 (21:26 +0200)
commit56ee6cdbc3b1eaeb8340a44692faee8905db6b7a
treec05fcb7bfe28add1a7272d70b73ea3317de11570
parent30e474f2131d30c17d1201bd93d03a9b92c64c57
libceph: make ceph_osdc_notify{,_ack}() payload_len u32

The wire format dictates that payload_len fits into 4 bytes.  Take u32
instead of size_t to reflect that.

All callers pass a small integer, so no changes required.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osd_client.h
net/ceph/osd_client.c