]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/compat/linux/linux_ioctl.c
linux(4): Quiesce unrecognized ioctl warning for F2FS query
authorcem <cem@FreeBSD.org>
Mon, 2 Nov 2020 18:45:43 +0000 (18:45 +0000)
committercem <cem@FreeBSD.org>
Mon, 2 Nov 2020 18:45:43 +0000 (18:45 +0000)
commit3119959468d18f17d3919bb493b9b8e5dc28a980
tree4ac91ab1f5804ee339de7f3ccb5b5e3a137485d9
parentb540a725374c6cc1217ab90383056f44629ef71c
linux(4): Quiesce unrecognized ioctl warning for F2FS query

On Linux, sqlite probes for underlying F2FS filesystems that support
certain kinds of atomic update with this ioctl.  The expected result on
non-F2FS filesystem (i.e., all FreeBSD filesystems) is any error value.

Minimally implement the ioctl and avoid the warning message.

(This shows up in Linux Chrome, which embeds sqlite.)

Reviewed by: emaste, trasz
Differential Revision: https://reviews.freebsd.org/D27050
sys/compat/linux/linux_ioctl.c
sys/compat/linux/linux_ioctl.h