diff options
author | kib <kib@FreeBSD.org> | 2014-11-12 17:31:38 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-11-12 17:31:38 +0000 |
commit | ff19294d91a7be396f3fcc0244cfd4f532e54fbd (patch) | |
tree | a0374b9374f763c4d737fd7f99a099970dcb4e54 /sys/boot | |
parent | 62ba21698ab6182e9825e08d27ccd40396c5455b (diff) | |
download | FreeBSD-src-ff19294d91a7be396f3fcc0244cfd4f532e54fbd.zip FreeBSD-src-ff19294d91a7be396f3fcc0244cfd4f532e54fbd.tar.gz |
For posix_fallocate(2) and posix_fadvise(2), return ESPIPE when
underlying file does not have DFLAG_SEEKABLE set [1].
For posix_fallocate(2), simplify error handling logic. Do return when
fp is not yet referenced.
Noted by: bde [1]
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/boot')
0 files changed, 0 insertions, 0 deletions