From patchwork Wed Aug 23 19:52:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 9918235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6804D600C5 for ; Wed, 23 Aug 2017 19:53:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45DF228A27 for ; Wed, 23 Aug 2017 19:53:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3404628A22; Wed, 23 Aug 2017 19:53:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD0FA28A14 for ; Wed, 23 Aug 2017 19:53:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932545AbdHWTw3 (ORCPT ); Wed, 23 Aug 2017 15:52:29 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:34368 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbdHWTw3 (ORCPT ); Wed, 23 Aug 2017 15:52:29 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7NJqRvt021900 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Aug 2017 19:52:27 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v7NJqRkM018736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Aug 2017 19:52:27 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v7NJqQ9K025720; Wed, 23 Aug 2017 19:52:26 GMT Received: from localhost (/10.145.179.124) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 23 Aug 2017 12:52:26 -0700 Date: Wed, 23 Aug 2017 12:52:25 -0700 From: "Darrick J. Wong" To: "Michael Kerrisk (man-pages)" Cc: linux-api@vger.kernel.org, linux-man@vger.kernel.org, xfs Subject: [PATCH] ioctl_getfsmap.2: correct semantics of FMR_OF_LAST flag Message-ID: <20170823195225.GF4794@magnolia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The FMR_OF_LAST flag is applied to the last record in the returned dataset, which is not necessarily the last record in the filesystem. Correct the documentation to reflect the actual behavior of both getfsmap implementations. Signed-off-by: Darrick J. Wong --- man2/ioctl_getfsmap.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/man2/ioctl_getfsmap.2 b/man2/ioctl_getfsmap.2 index 2a3cf06..047a624 100644 --- a/man2/ioctl_getfsmap.2 +++ b/man2/ioctl_getfsmap.2 @@ -225,7 +225,7 @@ The field contains a special value instead of an inode number. .TP .B FMR_OF_LAST -This is the last record in the filesystem. +This is the last record in the data set. .RE .PP The