Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp308807imn; Thu, 4 Aug 2022 06:52:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR6C3ts1z6M5G54/px9txEsQPfR6GUuyvO+9aUeDRxH/Hi0UfPtI/XwS3bA73uBX3PNorkWv X-Received: by 2002:a05:6402:510a:b0:43d:ab25:7d68 with SMTP id m10-20020a056402510a00b0043dab257d68mr2149749edd.102.1659621175583; Thu, 04 Aug 2022 06:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659621175; cv=none; d=google.com; s=arc-20160816; b=tQrr9IgMm0Byg/2rWsWNLsvIjp5RFSWM64xyZ0VmJsLx/WLIYBD5xuHXGKqBBXq03X 2oezqe5dtpwOnKbKL23yiS4aXsLdL6lZfZUWC7OoMyhHsG6V0EWuwAo2akHprZkkfUbS 4/2/V43kWQy1szo1RGR7xM4Wg57etZifrp+WUupKVggnRgd8ZC8yKcAYnpN7rWFkT+a4 yIjBUqbArLApXp1l73RMyQr2uf4cHeyKAf68oA9iwpWAJKgd045cuNpqSZzXRSnAA5F2 LzMHi5Uh8mvPpUyGKMl6VTfBUfigwDHL9VoOUsk2OmYkekMS7NDZmElLKb2R2Cw9SnNn 3wig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=Tg5Eqz20TkF2BryKveXO0kvsckn7+wa3W0rFC2WWfyY=; b=wJiWKIo7RrEXk5Zo9x9eit/yUJflC8M11esfCpsxLovcGucx6l8XPstAolSliFT/qP OWr1opBeXMQrVu6ddPfjA3YqiGGYJTZ+l54o/I/KUHo1HnRbgdC9AGbnbx68M9r09Rqw 0ANNE/SowQYzc4uN2R4h3/E7fav/v7RCtTHhYZwx2Zw/e9OmyjjNVSZc5SDpCWe5v7QA QaBbwpLC/wtY9T765VbyZlyEFZRVA8TXahXWTFFF7jmLapq3roT3gBKZqBe2DpE4Gruy Pa1ft1FkG7F2/uI4g5gPBdHiMclHIU6+yTpPbkK72Rp6nOAqICk/CaExDWkLeVr63jQ+ KRDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=me97mjww; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz5-20020a1709072ce500b0072f0a99a61asi1014600ejc.617.2022.08.04.06.52.30; Thu, 04 Aug 2022 06:52:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=me97mjww; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239931AbiHDNmT (ORCPT + 99 others); Thu, 4 Aug 2022 09:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234361AbiHDNmS (ORCPT ); Thu, 4 Aug 2022 09:42:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF6CE39B98 for ; Thu, 4 Aug 2022 06:42:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 78BE4B82431 for ; Thu, 4 Aug 2022 13:42:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77679C433C1; Thu, 4 Aug 2022 13:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659620535; bh=/XC5S4YiMuClwldjj+UXqlc4TOiJVqClkgdfFwzoNSo=; h=Date:Subject:To:References:From:In-Reply-To:From; b=me97mjwwtm8931nbsJzE5o4eIJ/uGRgfJEEh72ynWwhWgzLUHhEVSZjqrQcIM4BFC rKGV6yDH1JgIWmE3ogCBThjOSbZsGD3MVMQVnauR2IKajnk9huT/gQPTUmkKeDTpwR O78L7WlAyEprpkIyaZ7o0PFbS1AYB0GE2plcbRn9+ACx+fSRc0DF7BwwLwToR0l+7F BEOItp4getVa226gkMY0V+zqEoU6bbIEzbBXIzoTZ18wxW3+ZafVUCMT7AB/h8Xt7h XXnbU6mGdw/UhlZIDMhhA12WahtnUWP8iGiSxzqjdTswcYo5K6KOiLhIsSljq1rt6m FHk/rifJkiDew== Message-ID: <0b07d2ae-b3c0-1b13-37d0-068a342c7b8f@kernel.org> Date: Thu, 4 Aug 2022 21:42:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [f2fs-dev] [PATCH] f2fs: do not set compression bit if kernel doesn't support Content-Language: en-US To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20220804034146.3357114-1-jaegeuk@kernel.org> From: Chao Yu In-Reply-To: <20220804034146.3357114-1-jaegeuk@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 2022/8/4 11:41, Jaegeuk Kim wrote: > If kernel doesn't have CONFIG_F2FS_FS_COMPRESSION, a file having FS_COMPR_FL via > ioctl(FS_IOC_SETFLAGS) is unaccessible due to f2fs_is_compress_backend_ready(). > Let's avoid it. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,