Message ID | 20210403194026.102818-36-alx.manpages@gmail.com |
---|---|
State | Not applicable |
Headers |
Return-Path: <libc-alpha-bounces@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 62A3E388A80D; Sat, 3 Apr 2021 19:42:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62A3E388A80D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617478937; bh=R9IcsjPnDHU/dmEexCAQKAtwymjal0P+vsDSQhy0Pq4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cXxZAF8t2QzbzBEam82H89BrlP7nZL9zlLn4fO2RfmTeIFUG21cJIkxcbcFo9m+se llpZxZPtiofODr8L+QUNpeYLAMNP83OQY0dF4/gj4ySmhVGmgO06tYn50Kj2O2nMy+ 3QWZi6ThOUv9/S3lOzHcZtzyk2lKXv3B3LJdlcNc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 5C849388A826 for <libc-alpha@sourceware.org>; Sat, 3 Apr 2021 19:42:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5C849388A826 Received: by mail-wm1-x330.google.com with SMTP id g18-20020a7bc4d20000b0290116042cfdd8so638682wmk.4 for <libc-alpha@sourceware.org>; Sat, 03 Apr 2021 12:42:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=R9IcsjPnDHU/dmEexCAQKAtwymjal0P+vsDSQhy0Pq4=; b=AVOo11drG8PA2+LKPP9f9VEP2hphdgT6llJ6C0xaiiwOiAF4NdYixj+RZ2xd+WffRk WS8iAULly3c6e770XUt/HCfYfck0tluv8TkVRdRBJ4DpbGUiRKZMHJR3JI31OFKGFl8Y Wva3NBTwIBSITgxbg2CSjSu9Xm0Gr3fSX8To5QzvcDETHlotcwhCIcraSuMD+ELRZu+I hLvrzrxW9IzovfiHpF0LIs9KVXFS+jARDcrKjP6y4tYuNsfO/pl48Ve2azO8OOWpP6mh fhjIugkJx9OyeGDM7aML70XrRnw/LeozbF6TiFTgS92odEV+TebQZm8gZDbF0h/pb5nQ G5jg== X-Gm-Message-State: AOAM530FW1s+HOzuaDpeQTsjQrIjqGasc2UAuHkWrBHDSaWz+Ag1yeMp gG6062hw14K8dV9oT88VtOY= X-Google-Smtp-Source: ABdhPJwRgEgHD515hkziNyncxbWWQQuO872UYmirB7RGd3W+fF/yXGpa0odlIJ5bucmjLQ4C8IFIQg== X-Received: by 2002:a05:600c:2145:: with SMTP id v5mr18389169wml.65.1617478931595; Sat, 03 Apr 2021 12:42:11 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id n1sm25211056wro.36.2021.04.03.12.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 12:42:11 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v4 35/35] ioctl_getfsmap.2: Make clear why exactly is each header needed Date: Sat, 3 Apr 2021 21:40:27 +0200 Message-Id: <20210403194026.102818-36-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Alejandro Colomar <alx.manpages@gmail.com>, linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
SYNOPSIS: Use syscall(SYS_...); and fix '#include's
|
|
Commit Message
Alejandro Colomar
April 3, 2021, 7:40 p.m. UTC
<linux/fs.h> doesn't seem to be needed!
Only the include that provides the prototype doesn't need a comment.
Also sort the includes alphabetically.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man2/ioctl_getfsmap.2 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man2/ioctl_getfsmap.2 b/man2/ioctl_getfsmap.2 index 4ff1c8a90..55a9ad620 100644 --- a/man2/ioctl_getfsmap.2 +++ b/man2/ioctl_getfsmap.2 @@ -25,9 +25,9 @@ ioctl_getfsmap \- retrieve the physical layout of the filesystem .SH SYNOPSIS .nf +.BR "#include <linux/fsmap.h>" " /* Definition of " FS_IOC_GETFSMAP , +.RB " * " FM?_OF_* ", and " *FMR_OWN_* " constants */" .B #include <sys/ioctl.h> -.B #include <linux/fs.h> -.B #include <linux/fsmap.h> .PP .BI "int ioctl(int " fd ", FS_IOC_GETFSMAP, struct fsmap_head * " arg ); .fi