Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp521056pxu; Wed, 25 Nov 2020 08:52:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwELBvms9qnBtxI2dZsZsvpdrM0d5uXmZ621UY2WjNu+PZCUGgEB0+viMPKafvN11/qiCL0 X-Received: by 2002:a17:906:179a:: with SMTP id t26mr3992066eje.49.1606323159962; Wed, 25 Nov 2020 08:52:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606323159; cv=none; d=google.com; s=arc-20160816; b=xdsl2W5fNbFV3RnOSac2Zb9vJVud5qnqOgjvs17L9GoYvoTr1y9x8LrGbvorMNeC25 isKt3OOxM7tLIxRxX/g5seQqJemz7HkqzRoombdcmecoKvnlNQrmPtpENNY2iy9jQ5Fr ILeSPTMWnaxGrCI13d2UJf5oildfqXh3tRSqPW2Y81KRVxYFuYq+y0vb7PwMXWRWvCib lwYyigHkOLiToH2VRuWzzfH7bNjpLHAgqSyAvrUa2mqNfqs2JW0bW0zFfCliwq1jt//c biDd+qcoUqEOsekwSsEm47A1kI/7oKFHhNtX2D7mg8tCIhzpvsq5AKlUJntNPp01iu5n yIow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:from:organization :dkim-signature; bh=XZc3CPeOm1ZOxeaYmzK65nkw+8TNuZ7nhsmtRqGrSEo=; b=rhomfQ+kamjo/KhzmlUkxdxeGT9rmG/7uuRg8PqKm7MX6BhSQu7Y3ywBQLN7hdf5H1 XFpz1UaNhhs+AVXYpnEmmLWZ0+fcls/A8iPY1mbW2M5cY+or7TJFJWTp57+AV0ggrxgn PPonZVIN6i/c9WI47GrKXVZVNihmVTGaYbH/6cR/t/uw9hQaa7K2IXVVct/r+nZbU7Xh b0drzfxt+j20uN0q7mQZ1gT2KPsgEUbQFao8O2cg/5LCygiwVgU7Rku8exAURbOpWeWg iBMALk8+Wfd06naOYlXOF1mCyJYXMciV8wO8yuP0EnTM4l6sHiJeez9RHoe9Hu5tHkbj o1eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XWf3M3ZH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt13si1654093ejb.564.2020.11.25.08.52.16; Wed, 25 Nov 2020 08:52:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XWf3M3ZH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732202AbgKYQuZ (ORCPT + 99 others); Wed, 25 Nov 2020 11:50:25 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:44979 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732082AbgKYQuX (ORCPT ); Wed, 25 Nov 2020 11:50:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606323022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XZc3CPeOm1ZOxeaYmzK65nkw+8TNuZ7nhsmtRqGrSEo=; b=XWf3M3ZHGIWzSymrVwUA2CAOTh/FqhKon3J0/unajrGRjuYMgrgH4zDX+u8QKJ0APoNvKH I1fRiUhJZB0An0JupCQoqk669hX3Dr5o8FVychduv8ooN496RrVvUzl01SLZj7dvGTWw54 R+HAODw02C/frTWN1W6tsTPPYA94+7I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-596-bEjfIDKOOqarG3JXigFZCQ-1; Wed, 25 Nov 2020 11:50:20 -0500 X-MC-Unique: bEjfIDKOOqarG3JXigFZCQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 76FDD185E48A; Wed, 25 Nov 2020 16:50:19 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-112-111.rdu2.redhat.com [10.10.112.111]) by smtp.corp.redhat.com (Postfix) with ESMTP id D604510021B3; Wed, 25 Nov 2020 16:50:14 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells To: torvalds@linux-foundation.org, Miklos Szeredi , Ira Weiny cc: dhowells@redhat.com, sandeen@redhat.com, linux-fsdevel@vger.kernel.org, linux-man@vger.kernel.org, linux-kernel@vger.kernel.org Subject: UAPI value collision: STATX_ATTR_MOUNT_ROOT vs STATX_ATTR_DAX MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1927369.1606323014.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Nov 2020 16:50:14 +0000 Message-ID: <1927370.1606323014@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Miklos, Ira, It seems that two patches that got merged in the 5.8 merge window collided= and no one noticed until now: 80340fe3605c0 (Miklos Szeredi 2020-05-14 184) #define STATX_ATTR_MOUNT= _ROOT 0x00002000 /* Root of a mount */ ... 712b2698e4c02 (Ira Weiny 2020-04-30 186) #define STATX_ATTR_DAX = 0x00002000 /* [I] File is DAX */ The question is, what do we do about it? Renumber one or both of the constants? David