]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: initialize last_linger_id with a large integer
authorIlya Dryomov <idryomov@gmail.com>
Tue, 8 Nov 2016 14:15:24 +0000 (15:15 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 10 Nov 2016 19:13:08 +0000 (20:13 +0100)
commit493d83ca3d6b65a53dde574425d3afe73c6643e4
treefd41d2587eaddd4edeb7dd805445abaf629622ae
parent66732e5f6221e653be7977d16e4197f68130c3db
libceph: initialize last_linger_id with a large integer

osdc->last_linger_id is a counter for lreq->linger_id, which is used
for watch cookies.  Starting with a large integer should ease the task
of telling apart kernel and userspace clients.

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