Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] move_pages.2: mark deprecated E2BIG
@ 2019-09-04  8:10 Yang Xu
  2019-09-13 11:49 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Xu @ 2019-09-04  8:10 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man, Yang Xu

E2BIG was removed in 2.6.29, we should mark it as
deprecated.

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
 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.
-- 
2.18.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] move_pages.2: mark deprecated E2BIG
  2019-09-04  8:10 [PATCH] move_pages.2: mark deprecated E2BIG Yang Xu
@ 2019-09-13 11:49 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2019-09-13 11:49 UTC (permalink / raw)
  To: Yang Xu; +Cc: linux-man

Hello Yang Xu,

On Wed, 4 Sep 2019 at 10:10, Yang Xu <xuyang2018.jy@cn.fujitsu.com> wrote:
>
> E2BIG was removed in 2.6.29, we should mark it as
> deprecated.
>
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> ---
>  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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04  8:10 [PATCH] move_pages.2: mark deprecated E2BIG Yang Xu
2019-09-13 11:49 ` Michael Kerrisk (man-pages)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org linux-man@archiver.kernel.org
	public-inbox-index linux-man


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/ public-inbox