]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Return ENOTSUP for Linux FS_IOC_FIEMAP ioctl.
authortrasz <trasz@FreeBSD.org>
Thu, 4 Jul 2019 20:16:04 +0000 (20:16 +0000)
committertrasz <trasz@FreeBSD.org>
Thu, 4 Jul 2019 20:16:04 +0000 (20:16 +0000)
commitfded509cb939268bdee5894b68865239c5c419f3
tree6cfdcaa134145490c9b5435e0f9ebe4ca90caa13
parenteea94a5c4cc0854e8f1f028d53b5659cec9ee2a3
Return ENOTSUP for Linux FS_IOC_FIEMAP ioctl.

Linux man(1) calls it for no good reason; this avoids the console spam
(eg '(man): ioctl fd=4, cmd=0x660b ('f',11) is not implemented').

Reviewed by: emaste
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20690
sys/compat/linux/linux_ioctl.c
sys/compat/linux/linux_ioctl.h