aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-09-30 13:27:51 -0700
committerGitHub <[email protected]>2020-09-30 13:27:51 -0700
commit266d1121c3f49da05abcbdd527bf12b5d5a06df6 (patch)
tree19bcdad58061dd0e0d4b1ca2bbc2124c92aa5b63 /tests
parentd688beb19110b21cbfd3e3053833b9d4ec6a277c (diff)
Fix buggy procfs_list_seq_next warning
The kernel seq_read() helper function expects ->next() to update the passed position even there are no more entries. Failure to do so results in the following warning being logged. seq_file: buggy .next function procfs_list_seq_next [spl] did not update position index Functionally there is no issue with the way procfs_list_seq_next() is implemented and the warning is harmless. However, we want to silence this some what scary incorrect warning. This commit updates the Linux procfs code to advance the position even for the last entry. Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #10984 Closes #10996
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions