Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp771653ybb; Fri, 10 Apr 2020 09:47:24 -0700 (PDT) X-Google-Smtp-Source: APiQypL7x1t7j0YAsAUpBT8tS2+u7s6u8/OscgAaKB3Z66HZ8mEiGdfP1+TOu453KhQP/LMGa6GX X-Received: by 2002:a0c:8167:: with SMTP id 94mr6120301qvc.90.1586537243753; Fri, 10 Apr 2020 09:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586537243; cv=none; d=google.com; s=arc-20160816; b=sOerBFKvh6cJtWNgOb20C9hee7+AOzIJCoRzOCIpmNFNwK3uUFeIr/eGNCPPCMufc8 RRClo1K+GE3uTPa8a9yLm/gRXFaCzs8WlNfR/W4QolNDio5B594WEkf8cV2fqzi3zWo7 VmUJvVXFkp7f0ZtkJX6M7t5fcb9VXJ68PJZMUvM8DcitdVh1bMB4bF5XX3t5VvajzfIg OEt89TzaYLxzLHEf+ra2Dp7yrmrNOFrzTsAMkVAF0iy/cRiNFocnkMZnD6q2DRfzNTpQ 5V8ZVLoXZk32sm51Nt9S22N6dZ3brX8C6nov8kW47ZomWw3NkjwLKJgnBnxF+Ob31qaF omLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=4lHV5iIvwfqChMVx+WSnvfPwDF8OrGJ1aUg/XjT2XJs=; b=tptoOx4OKNKlltKFiO0FfBfu3l65117ckNgeCwWSk3e3TI4GhGrK7R+R+XH0yZyFPl CH4VujEEv9LlJ1YzHoL1niqy9G+4eqcp1Djpqe7aF5cXTcGpAAgh/01aZr06XnOHyv5d j7pMJPfAIOAPV8nYjFd6Wh97qXQtwWlJB66SqkUmf8m6LFb4UDfrvIDUimLgsn+uJYBb Rq5q4uPCRJY8NBM8bX9jEHdkCnVx5wpuox/plT+BlasFAE7/yIA5FdSYhBc7pnW2ag7d dziTDNp48jkbRsw4MBIfgQaS7VMQsxNgpBLnl3PkZbcqz1l2RC0D0xCge3RbZSAuZgA3 O3Vg== ARC-Authentication-Results: i=1; mx.google.com; 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 w2si1344499qvy.105.2020.04.10.09.47.08; Fri, 10 Apr 2020 09:47:23 -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; 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 S1726638AbgDJQqN (ORCPT + 99 others); Fri, 10 Apr 2020 12:46:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:55786 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726177AbgDJQqN (ORCPT ); Fri, 10 Apr 2020 12:46:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 00588AB64; Fri, 10 Apr 2020 16:46:10 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 9BE3ADA72D; Fri, 10 Apr 2020 18:45:33 +0200 (CEST) Date: Fri, 10 Apr 2020 18:45:33 +0200 From: David Sterba To: Eugene Syromiatnikov Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, David Sterba , Nikolay Borisov , Josef Bacik , Chris Mason , "Dmitry V. Levin" Subject: Re: [PATCH] btrfs: re-instantiate the removed BTRFS_SUBVOL_CREATE_ASYNC definition Message-ID: <20200410164533.GP5920@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Eugene Syromiatnikov , linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, David Sterba , Nikolay Borisov , Josef Bacik , Chris Mason , "Dmitry V. Levin" References: <20200401032650.GA24378@asgard.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200401032650.GA24378@asgard.redhat.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 01, 2020 at 05:26:50AM +0200, Eugene Syromiatnikov wrote: > The commit 9c1036fdb1d1ff1b ("btrfs: Remove BTRFS_SUBVOL_CREATE_ASYNC > support") breaks strace build with the kernel headers from git: > > btrfs.c: In function "btrfs_test_subvol_ioctls": > btrfs.c:531:23: error: "BTRFS_SUBVOL_CREATE_ASYNC" undeclared (first use > in this function) > vol_args_v2.flags = BTRFS_SUBVOL_CREATE_ASYNC; > > Moreover, it is improper to break UAPI anyway. IIRC the reason for the UAPI exports was to let strace use the includes to decode the ioctls, so for that I agree it's improper to break the build, sorry. The ioctls are a public interface so it's an ABI. Patch added to 5.7 queue, thanks.