Date: Thu, 7 Jan 2016 23:22:43 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r293394 - projects/sendfile/sys/sys Message-ID: <201601072322.u07NMhNU091566@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Thu Jan 7 23:22:43 2016 New Revision: 293394 URL: https://svnweb.freebsd.org/changeset/base/293394 Log: SF_NODISKIO is still used, but differently. Modified: projects/sendfile/sys/sys/socket.h Modified: projects/sendfile/sys/sys/socket.h ============================================================================== --- projects/sendfile/sys/sys/socket.h Thu Jan 7 23:18:49 2016 (r293393) +++ projects/sendfile/sys/sys/socket.h Thu Jan 7 23:22:43 2016 (r293394) @@ -585,13 +585,9 @@ struct sf_hdtr { /* * Sendfile-specific flag(s) - * - * SF_NODISKIO and SF_MNOWAIT are unused since 11.0, but we keep - * them in header to keep applications compilable. We will try to - * avoid to reuse their bits as long as possible. */ -#define SF_NODISKIO 0x00000001 /* unused */ -#define SF_MNOWAIT 0x00000002 /* unused */ +#define SF_NODISKIO 0x00000001 +#define SF_MNOWAIT 0x00000002 /* obsolete */ #define SF_SYNC 0x00000004 #define SF_NOCACHE 0x00000010 #define SF_FLAGS(rh, flags) (((rh) << 16) | (flags))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601072322.u07NMhNU091566>