Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3321424imm; Fri, 19 Oct 2018 08:43:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV62dtx6Cu1p2VQb8UndhZarHskrgtVN450ToGM3m1QpZoChps41vv6V2ZGTzx5YElRmNxqH5 X-Received: by 2002:a17:902:2805:: with SMTP id e5-v6mr34728623plb.169.1539963791733; Fri, 19 Oct 2018 08:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539963791; cv=none; d=google.com; s=arc-20160816; b=G/nlZcdo9UBpbhWdeGy8XxUzmpDzWuw/oy7+okLJiGuW0VeF81cqC33ndSK/+RIv1I 2Ug9HJalC+Vi3NjyDxUr+VsDquiMmGYkB/Moxc/BT13HYaKOql+CBgIOXsPOCTk2vXrk SaTmRfOEsZt5bnqJzjtw+sLAE60C+dvnfNGETN3UCCnIfS5yrNiy0bRxigWmi+c3cMv9 cTtN8mDv060Nh74GfWqns8hT7N+9SbSeUZjaB4dMs+G44rN8jY9B9J/VgFDXI1VriYu1 QkPcjbzi3ewOI/+TwHQh1M38hQTAFYOSC7XMYXKR21MIIm0PYNnyWPczlNbD/AxF1JhV 0G/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=y3wVap68HOX2guk//IIyTZGjW62jzaoBRNbHauxyqPI=; b=tMCLS9oJ3tt3lSf/nggrscfO3GalmtLcS4/XIORbG7p2RnPYHrHtm3tiVhTQweTBKc JZZd3fnUzNxLp0Ei3LfPA4rAvFDqFbEeJM6OT18PgUUXK7N421c8zwitmArWl8pbNRZq hbMH/Kq0veryRgkM8CPokUA6ivsQHwWt0blDUwTx4wRIYButcnopsX0jch2ptn0CZ5tu Vz1Yo3a0D6QlXvIlyPO7enegRAB3VSWDquYQ4sUTdtOQ1N8QenlVrPtEfZaTfY5g4kz1 wM8p75wQ19+u0cCkiNQRF0iUfL4jvW0nC1AMRXTv9jgjm/MrCKOPvjr6ZXyON+HaazVM 9oCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=hVP+q1UF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5-v6si5260172pll.320.2018.10.19.08.42.55; Fri, 19 Oct 2018 08:43:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=hVP+q1UF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727641AbeJSXrT (ORCPT + 99 others); Fri, 19 Oct 2018 19:47:19 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:37344 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727603AbeJSXrT (ORCPT ); Fri, 19 Oct 2018 19:47:19 -0400 Received: by mail-it1-f196.google.com with SMTP id e74-v6so4960828ita.2 for ; Fri, 19 Oct 2018 08:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y3wVap68HOX2guk//IIyTZGjW62jzaoBRNbHauxyqPI=; b=hVP+q1UFAg15NM5NJS4999T9xFA+2QNRbhGEPvtASYBmhV+7wq+wTe9RFPHy1xpedz e8YjfvDHKGh9EB92+SZp1x/JA7qvfH2ve9rDWHRVd9gsNdRkPznvjQn5WeU2ZTa+mukm lSXwdie1suYac/dj6anXvlCBxGBO9f8Oq4x/g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y3wVap68HOX2guk//IIyTZGjW62jzaoBRNbHauxyqPI=; b=EGXjmpgYafqpjTkyEGuzk9+J86tak6o2YKZYEH6GcKeb4MAuADRQP0AqhUFDAAhEis mZnHze7mYDsZZlEl4fxlkFjquwm89nRrxHaQRverTMXr2h1ScXVdJGvhPJgd3veF6k8w LXhaLXheq3H7IySdSFBM9j0jTF48DTUotM8oLoCknQMEietPrXnneC5E1J/m40TAJT/Y L4wDHp3tyN4IBcDAYBEiFkwMIuvf1ZpprFsrEaGgzbUP8lsBSf6uS4hP6jWBcsdrWY3x sd8yI5XQcrR6tY6wKmIopkhVa7dvIjaU/2SrID6L1njy6WYfali5ozwlHZ4j9GT2lgJ+ bwVw== X-Gm-Message-State: ABuFfoi+zvzz3O35OrCes5V79rjXWwlh85Wl6HYsALAjxA6p5dvy9KwK 1hOTMyWhuO8mqJdI6Fh+ZGYz6Hr9vLUNZsQPpbi8hiFicGw= X-Received: by 2002:a02:1818:: with SMTP id k24-v6mr26311040jad.77.1539963641541; Fri, 19 Oct 2018 08:40:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bf41:0:0:0:0:0 with HTTP; Fri, 19 Oct 2018 08:40:40 -0700 (PDT) X-Originating-IP: [212.96.48.140] In-Reply-To: <16382.1539963322@warthog.procyon.org.uk> References: <20181019122049.27121-1-mszeredi@redhat.com> <20181019122049.27121-2-mszeredi@redhat.com> <16382.1539963322@warthog.procyon.org.uk> From: Miklos Szeredi Date: Fri, 19 Oct 2018 17:40:40 +0200 Message-ID: Subject: Re: [PATCH v2 2/5] uapi: deprecate STATX_ALL To: David Howells Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Linux API , Michael Kerrisk , Andreas Dilger , Florian Weimer , Amir Goldstein Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 19, 2018 at 5:35 PM, David Howells wrote: > Miklos Szeredi wrote: > >> +/* >> + * This is deprecated, and shall remain the same value in the future. To avoid >> + * confusion please use the equivalent (STATX_BASIC_STATS | STATX_BTIME) >> + * instead. >> + */ >> +#define STATX_ALL 0x00000fffU > > The comment is misleading. STATX_ALL is *not* equivalent to > STATX_BASIC_STATS | STATX_BTIME, even though it might be numerically the > same. You would need to update the comment when you add STATX_ATTRIBUTES > to mention that also. The definition of STATX_ALL is, and will remain, equivalent to STATX_BASIC_STATS | STATX_BTIME. What is misleading about this? If you feel confused by this comment, then maybe I should just drop that part. Thanks, Miklos