Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2019 01:30:00 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351374 - head
Message-ID:  <201908220130.x7M1U0dA017604@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Thu Aug 22 01:29:59 2019
New Revision: 351374
URL: https://svnweb.freebsd.org/changeset/base/351374

Log:
  Add a couple of lines noting that r351372 maps ENOTTY->EINVAL for other cases.

Modified:
  head/RELNOTES

Modified: head/RELNOTES
==============================================================================
--- head/RELNOTES	Thu Aug 22 01:18:36 2019	(r351373)
+++ head/RELNOTES	Thu Aug 22 01:29:59 2019	(r351374)
@@ -15,7 +15,7 @@ r351361:
 	corresponding lockstat(1) events, and document the new probes in
 	dtrace_lockstat.4.
 
-r351201:
+r351201, r351372:
 	Add a vop_stdioctl() call, so that file systems that do not support
 	holes will have a trivial implementation of lseek(SEEK_DATA/SEEK_HOLE).
 	The algorithm appears to be compatible with the POSIX draft and
@@ -23,6 +23,8 @@ r351201:
 	does not support holes.  Prior to this patch, lseek(2) would reply
 	-1 with errno set to ENOTTY for SEEK_DATA/SEEK_HOLE on files in
 	file systems that do not support holes.
+	r351372 maps ENOTTY to EINVAL for lseek(SEEK_DATA/SEEK_HOLE) for
+	any other cases, such as a ENOTTY return from vn_bmap_seekhole().
 
 r350665:
 	The fuse driver has been renamed to fusefs(5) and been substantially



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908220130.x7M1U0dA017604>