Skip to content

Commit

Permalink
Add a couple of lines noting that r351372 maps ENOTTY->EINVAL for oth…
Browse files Browse the repository at this point in the history
…er cases.
  • Loading branch information
Rick Macklem authored and Rick Macklem committed Aug 22, 2019
1 parent 1689dc6 commit b4c64c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ 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
the implementation in Linux for the case of a file system that
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
Expand Down

0 comments on commit b4c64c6

Please sign in to comment.