]> granicus.if.org Git - procps-ng/commit
library: also include a 'read' for slabnode_chain_fill
authorJim Warner <james.warner@comcast.net>
Mon, 13 Jul 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 15 Jul 2015 11:26:10 +0000 (21:26 +1000)
commit9d1073a22a9e02f8e635b30f38a191cbe5c193eb
tree7f8bd8a4d650ee836dd9147277b3056fa1aadd2a
parent74cb6afcc96efc34c7959183c17fc238f4385984
library: also include a 'read' for slabnode_chain_fill

While meminfo does implement only the singular version
of 'xxxx_chain_fill', it was wrong to limit the 'read'
to the plural version (only) within our new slabs API.

This kind of inconsistency will only spell trouble for
future users of the new libprocps API. So, this commit
will mean that any form of xxxx_chain(s)_fill function
also includes a 'read', whereas xxx_getchain does not.

Reference(s):
commit aab537bc1333b9ca57eaeec073b51af12f9280f8
http://www.freelists.org/post/procps/newlib-interfaces

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/slab.c