From: Herbert Xu Date: Tue, 3 Feb 2015 20:33:23 +0000 (+1100) Subject: rhashtable: Introduce rhashtable_walk_* X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~63^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2dba9c6ff;p=pandora-kernel.git rhashtable: Introduce rhashtable_walk_* Some existing rhashtable users get too intimate with it by walking the buckets directly. This prevents us from easily changing the internals of rhashtable. This patch adds the helpers rhashtable_walk_init/exit/start/next/stop which will replace these custom walkers. They are meant to be usable for both procfs seq_file walks as well as walking by a netlink dump. The iterator structure should fit inside a netlink dump cb structure, with at least one element to spare. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed