Whamcloud - gitweb
LU-12503 vvp_dev: increment *pos in .next 35/37035/2
authorNeilBrown <neilb@suse.com>
Sun, 11 Aug 2019 15:43:40 +0000 (11:43 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 Dec 2019 06:44:44 +0000 (06:44 +0000)
commit589ba9b62c0e8b3a93145dd44bbbd92a26d6da8b
treead8e973c659b94971157e1ab24f5a803201cdb28
parent322cd140132e821c63b41b7da9ddb9f519b52194
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.

Lustre-change: https://review.whamcloud.com/35765
Lustre-commit: 02336a9a5d096dc9a603ed0e77e0c7cf7b41ffb3

Change-Id: If4ac748f455750d82712299b7915eb541a3ddc7e
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37035
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/vvp_dev.c