zfs/module
Brian Behlendorf e23ba78bd8 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 <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10984 
Closes #10996
2020-09-30 16:31:37 -07:00
..
avl Fix typos in module/ 2020-01-22 13:48:59 -08:00
icp Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-09-15 21:16:58 +00:00
lua Mark lua setjmp/longjmp for powerpc weak 2020-09-22 11:43:07 -07:00
nvpair cppcheck: (warning) Possible null pointer dereference: nvh 2020-01-22 13:49:06 -08:00
spl Fix buggy procfs_list_seq_next warning 2020-09-30 16:31:37 -07:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Bugfix/fix uio partial copies 2020-05-12 10:53:32 -07:00
zfs Fix PREEMPTION=y and BLK_CGROUP=y config on arm64 2020-09-28 09:53:32 -07:00
.gitignore Adapt gitignore for modules 2020-01-22 13:49:05 -08:00
Makefile.in module/Makefile.in: don't run xargs if empty 2020-01-22 13:49:02 -08:00