zfs/module/spl
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
..
Makefile.in Retire unused spl_{mutex,rwlock}_{init_fini} 2019-09-25 11:27:49 -07:00
README.md Update build system and packaging 2018-05-29 16:00:33 -07:00
THIRDPARTYLICENSE.gplv2 Prepare SPL repo to merge with ZFS repo 2018-05-29 14:51:39 -07:00
THIRDPARTYLICENSE.gplv2.descrip Prepare SPL repo to merge with ZFS repo 2018-05-29 14:51:39 -07:00
spl-atomic.c Fix cstyle warnings 2018-02-07 11:49:38 -08:00
spl-condvar.c Fix typos in module/ 2020-01-22 13:48:59 -08:00
spl-cred.c Fix cstyle warnings 2018-02-07 11:49:38 -08:00
spl-err.c Correct snprintf() size argument 2019-04-30 19:41:12 -07:00
spl-generic.c Switch off -Wmissing-prototypes for libgcc math functions 2020-09-15 21:21:05 +00:00
spl-kmem-cache.c Linux 5.8 compat: __vmalloc() 2020-09-15 21:16:58 +00:00
spl-kmem.c Linux 5.8 compat: __vmalloc() 2020-09-15 21:16:58 +00:00
spl-kobj.c Fix cstyle warnings 2018-02-07 11:49:38 -08:00
spl-kstat.c Linux 5.6 compat: struct proc_ops 2020-05-12 10:53:32 -07:00
spl-proc.c Linux 5.6 compat: struct proc_ops 2020-05-12 10:53:32 -07:00
spl-procfs-list.c Fix buggy procfs_list_seq_next warning 2020-09-30 16:31:37 -07:00
spl-taskq.c cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
spl-thread.c Minor style cleanup 2019-09-25 11:27:49 -07:00
spl-tsd.c cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
spl-vmem.c cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
spl-vnode.c Fix zfs-0.8.3 'make lint' warnings 2020-01-22 13:49:07 -08:00
spl-xdr.c Update build system and packaging 2018-05-29 16:00:33 -07:00
spl-zlib.c Drop KMC_NOEMERGENCY 2020-01-22 13:48:57 -08:00

README.md

The Solaris Porting Layer, SPL, is a Linux kernel module which provides a compatibility layer used by the ZFS on Linux project.

Installation

The latest version of the SPL is maintained as part of this repository. Only when building ZFS version 0.7.x or earlier must an external SPL release be used. These releases can be found at:

Release

The SPL is released under a GPLv2 license.
For more details see the NOTICE and THIRDPARTYLICENSE files; UCRL-CODE-235197