Whamcloud - gitweb
LU-13543 lustre: update *pos in seq_file .next functions 57/40757/4
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 25 Nov 2020 19:45:38 +0000 (22:45 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 3 Dec 2020 17:58:12 +0000 (17:58 +0000)
commitd5d0ff24a84f64e5196341f5ce946952d7fff8b7
tree0d4bdaf7f33522258f292fa7c02e362cda03af93
parent8f793f14bf9928352623e61122f005252605b136
LU-13543 lustre: update *pos in seq_file .next functions

Patch fixes mdt_hsm_actions_debugfs seq operations to work with
new seq file logic in newer kernels

Meanwhile it finishes remaining work originating in LU-13985 which
updates ->next functions to always increment *pos as it is expected
by kernel

Test-Parameters: clientdistro=el8.2 serverdistro=el8.2 testlist=sanity-hsm
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I4f077b633fbf7d420bfda10cce6b0141cef07761
Reviewed-on: https://review.whamcloud.com/40757
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Neil Brown <neilb@suse.de>
lustre/lod/lod_pool.c
lustre/lod/lproc_lod.c
lustre/mdt/mdt_hsm_cdt_actions.c