mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
Linux 6.8 compat: implement strlcpy fallback
Linux has removed strlcpy in favour of strscpy. This implements a fallback implementation of strlcpy for this case. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Sponsored-by: https://despairlabs.com/sponsor/ Closes #15805
This commit is contained in:
committed by
Brian Behlendorf
parent
386d6a7533
commit
84980ee0e6
@@ -28,6 +28,7 @@
|
||||
#include <sys/timer.h>
|
||||
#include <sys/vmem.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/string.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/swap.h>
|
||||
#include <linux/prefetch.h>
|
||||
|
||||
Reference in New Issue
Block a user