Re: [PATCH] Add EINVAL to errors list of open(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/16/13 22:57, Doug Goldstein wrote:
> EINVAL can be returned by open(2) when the underlying filesystem doesn't
> support O_DIRECT. It is documented in the NOTES section but this patch
> adds it to the list of possible errors.

Applied. Thanks.

Cheers,

Michael


> ---
>  man2/open.2 | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/man2/open.2 b/man2/open.2
> index 9ebc0a0..93a9e7d 100644
> --- a/man2/open.2
> +++ b/man2/open.2
> @@ -611,6 +611,13 @@ While blocked waiting to complete an open of a slow device
>  the call was interrupted by a signal handler; see
>  .BR signal (7).
>  .TP
> +.B EINVAL
> +The filesystem does not support the
> +.BR O_DIRECT
> +flag. See
> +.BR NOTES
> +for more information.
> +.TP
>  .B EISDIR
>  .I pathname
>  refers to a directory and the access requested involved writing
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux