Whamcloud - gitweb
LU-12503 vvp_dev: increment *pos in .next 65/35765/2
authorNeilBrown <neilb@suse.com>
Sun, 11 Aug 2019 15:43:40 +0000 (11:43 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 Aug 2019 04:48:31 +0000 (04:48 +0000)
commit02336a9a5d096dc9a603ed0e77e0c7cf7b41ffb3
treed1f7e89b6abd5458a8b846e28124ddc724fdc039
parente5e0bdb7a5c2d47ceaa2d1c190806d1be4999129
LU-12503 vvp_dev: increment *pos in .next

As described in

Commit ec2e9995e4c5 ("lustre: llite: change how "dump_page_cache" walks a hash table")

The .next function should increment *pos. For some reason it
didn't, and this can trigger the warning in that function.

Change-Id: If4ac748f455750d82712299b7915eb541a3ddc7e
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-on: https://review.whamcloud.com/35765
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/vvp_dev.c