Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp230288iob; Mon, 2 May 2022 17:55:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB0PnxWo5me6qo7yDYoh2QWSG+ni3pC9SxGD8cC/hRKECsPYg57mvPGeMDrBqAq1h+2Xrt X-Received: by 2002:a17:90b:4c4e:b0:1d2:9f85:66b2 with SMTP id np14-20020a17090b4c4e00b001d29f8566b2mr2060380pjb.128.1651539316273; Mon, 02 May 2022 17:55:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539316; cv=none; d=google.com; s=arc-20160816; b=AI9LI+HLebEbdoLger7uTtAwOdyhmQHEahAsiJqyD0EC8R410a+qQJG2HyB4F9hkZ1 JpKB2iurTUmkB5Zve4JGmW2aMfWL/enELGFSsu3vST+AW+eKr24PHTcJD4yGAvpLpuvl onWHF7SEdoHku4PlQhz4QAa/iQ7ZDlKdzrLCOi+vmXOOiuHA1bZKsId0YJWlcpHZWEcW Q/m26S+b0P0OOExubS2QRDg2SazPDz/Ho5I+SqE28zdwC/7MLLKXhX7VA+SzH3Js4+Ez uQRcy3+umznMLxfm0SlQtynQKSAY2g7nH2Y9wpRgxmQrLs5Bq7WffGXdnwduz0lZ+VkE 1btw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :mail-followup-to:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=h3yJaFjxNAl9AQn6/ofob1hfEvkQkp6s5FBFQwXlFbg=; b=S2ALHdMX/MUeuyKsS5ewQ+Pmh6V5Sgc81Po4zn18Wb7+gQu2P7RPNadxrhCAFAkrL0 huPj8hr+AwUMiaSFxqiwO6b7KR2A0RXEEERbzBJkJhGkFhVl/NogWIqy5zKQb8arlcjq YtZ7iid/S2KDj6eAgHAJLDY3jqyuskT6cuM+ouTIkaCLmNe7Tcrc066fIkciexUuLK8K s++qbjfKob7tbH1H7lqxBidzdjq6DXf2n4oMSsQjUoVhlP53/rO5h7l86OpA8gLmhFDm w5VRiM9eOdK7+pCVzCiEZYdWfCLfGGCVWVoxpmaMuhhbo4LYQTodkVPZX5Bp72WDiTaC ElnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=psR8BEe4; dkim=neutral (no key) header.i=@suse.cz header.b=krEiuPSV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q21-20020a170903205500b00153b2d16647si13514291pla.591.2022.05.02.17.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:55:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=psR8BEe4; dkim=neutral (no key) header.i=@suse.cz header.b=krEiuPSV; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AC47C5158E; Mon, 2 May 2022 17:41:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386506AbiEBQzl (ORCPT + 99 others); Mon, 2 May 2022 12:55:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386516AbiEBQzU (ORCPT ); Mon, 2 May 2022 12:55:20 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D363CB7D3; Mon, 2 May 2022 09:51:50 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8F10B210ED; Mon, 2 May 2022 16:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1651510309; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type; bh=h3yJaFjxNAl9AQn6/ofob1hfEvkQkp6s5FBFQwXlFbg=; b=psR8BEe4WgPKlITinhBXu90hN7WYy+hCAvk299uZeILOj5+hc4WYAtgvA9/i6jQF8d+zWX 0itgxEndCUKCVymwjxDzfh+QU54oHUwzzJZU1bqfntR4fGUdM1Y4pAxZPKghmk+bULhSiA RGl6b5RnWzxjm0Nyuu7tEePc1F+yzn4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1651510309; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type; bh=h3yJaFjxNAl9AQn6/ofob1hfEvkQkp6s5FBFQwXlFbg=; b=krEiuPSV8UoWDZRq/3N1FRMFimQ1GUIOTvOmi1Dg4gY5ZJG8UHNGykJFksZh2Ut+Ppk0lV HFDrGstIk5a5V8Aw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7037313491; Mon, 2 May 2022 16:51:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FCxvGiUMcGKDcwAAMHmgww (envelope-from ); Mon, 02 May 2022 16:51:49 +0000 Date: Mon, 2 May 2022 18:47:39 +0200 From: David Sterba To: torvalds@linux-foundation.org Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 5.18-rc6 Message-ID: Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, torvalds@linux-foundation.org, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, a few more fixes mostly around how some file attributes could be set. Please pull, thanks. - fix handling of compression property - don't allow setting it on anything else than regular file or directory - do not allow setting it on nodatacow files via properties - improved error handling when setting xattr - make sure symlinks are always properly logged ---------------------------------------------------------------- The following changes since commit 5f0addf7b89085f8e0a2593faa419d6111612b9b: btrfs: zoned: use dedicated lock for data relocation (2022-04-21 16:06:24 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.18-rc5-tag for you to fetch changes up to 4b73c55fdebd8939f0f6000921075f7f6fa41397: btrfs: skip compression property for anything other than files and dirs (2022-04-27 22:20:21 +0200) ---------------------------------------------------------------- Chung-Chiang Cheng (2): btrfs: export a helper for compression hard check btrfs: do not allow compression on nodatacow files Filipe Manana (3): btrfs: always log symlinks in full mode btrfs: do not BUG_ON() on failure to update inode when setting xattr btrfs: skip compression property for anything other than files and dirs fs/btrfs/btrfs_inode.h | 11 ++++++++++ fs/btrfs/inode.c | 15 ++----------- fs/btrfs/props.c | 59 +++++++++++++++++++++++++++++++++++++++++++++----- fs/btrfs/props.h | 4 +++- fs/btrfs/tree-log.c | 14 +++++++++++- fs/btrfs/xattr.c | 11 +++++++--- 6 files changed, 91 insertions(+), 23 deletions(-)