Re: [PATCH] move_pages.2: mark deprecated E2BIG

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

 



Hello Yang Xu,

On Wed, 4 Sep 2019 at 10:10, Yang Xu <xuyang2018.jy@xxxxxxxxxxxxxx> wrote:
>
> E2BIG was removed in 2.6.29, we should mark it as
> deprecated.
>
> Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxxxxx>
> ---
>  man2/move_pages.2 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/man2/move_pages.2 b/man2/move_pages.2
> index dcdedf28a..3370e9e00 100644
> --- a/man2/move_pages.2
> +++ b/man2/move_pages.2
> @@ -168,7 +168,8 @@ to indicate the error.
>  .SH ERRORS
>  .TP
>  .B E2BIG
> -Too many pages to move.
> +Too many pages to move. It was deprecated since 2.6.29.
> +.\" 3140a2273009c01c27d316f35ab76a37e105fdd8
>  .TP
>  .B EACCES
>  .\" FIXME Clarify "current cpuset" in the description of the EACCES error.

Thanks. I applied this patch. I subsequently reworded the text a little to be:

       E2BIG  Too many pages to move.  Since Linux 2.6.29, the kernel  no
              longer generates this error.

Okay?

Thanks,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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