Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp980342rdb; Sun, 18 Feb 2024 23:21:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUiCB5hmsBOgnR7y3aTHx1njeTIDgvQaPO43yiPQ7NW9H5BFyKlbyytRXm8wxMTNBWYGlNFnKArWes8AIWzvzTdGiSe5qFNA8r+0m1M9w== X-Google-Smtp-Source: AGHT+IFLW9QEew5nmu6YdDvMF6MdyIIa/6M73ZNerZi+tpDJFjrEquY7GD+l6i8NRqyRp7S2Rq8l X-Received: by 2002:a05:622a:1b9f:b0:42d:ae1a:b1c0 with SMTP id bp31-20020a05622a1b9f00b0042dae1ab1c0mr14963859qtb.66.1708327281871; Sun, 18 Feb 2024 23:21:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708327281; cv=pass; d=google.com; s=arc-20160816; b=EHxYhNe/qgjfP+rZpsTutvgGp+oYwTqTwBgIC5kSglkGbdcTAfSKDkZVqu2P7QfJIR ZBG9t5IECl2H/P5345z2wgeUzquC5FoxrEfFJ/8vhjaPI2FR6EgCPjAprfG6K85rtIgQ UrRjr4DAxINtMqpixPhHsCeAwp+Z6tGHWf+c8Tr4be8LzuUkhFFUWeN7s37DayMkp3se UdzkWO4kMpgR5WdE4HodLNn0ELBSDhkSEYzZQWYS0EVFfd737uo5IUD4J9fT5eZKNcRu R1fWGTUhzjsvYa8EI1xqMnIl4C8gsJhuZ6kIoj3bqN6e03igjSsuQydi7X2RU7T9ice+ cPMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=PVqM0b0itzTgllW893u9sbLtVTXtg0oDYKDS5Qi+rsQ=; fh=L96s4z2EBbZjy2X8wipaX0S9eLBcFOCRp6Xy1eqgXJ0=; b=hh+aaSG4jpLxhFfbyrPVJMpZcuWHhNjgq9Cpai1VFEe4L+HKABcM2gM/sx4QSFV+iA T4gB3npf6rZ/qdFVdDg0DFjfb7I5KxUDhllqGaz96qWYfZmLVIN0TykRfA+gUVzQuSE6 NVGajeH8yPVD72Z/JotTEQX2lcEoxxwSUhOHJ5uKJnIuU4ZdUsCJeX9dWEY6CeHsDdEC oEDUwr8HX/4AP988XMyeQZU4g27iVxrEuOUncH14+wBdoGztPWwiryGKRrZa0Gd+VQgi gV/vpBPrEtLRHeDwLVii0jFcYRgxVb607XA1SyNzM1iH92yYVNocbD0jPB0HvpwPsSJg EUWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=aWwgAIiB; arc=pass (i=1 spf=pass spfdomain=googlemail.com dkim=pass dkdomain=googlemail.com dmarc=pass fromdomain=googlemail.com); spf=pass (google.com: domain of linux-kernel+bounces-70816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v33-20020a05622a18a100b0042c48441c60si5487363qtc.643.2024.02.18.23.21.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:21:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20230601 header.b=aWwgAIiB; arc=pass (i=1 spf=pass spfdomain=googlemail.com dkim=pass dkdomain=googlemail.com dmarc=pass fromdomain=googlemail.com); spf=pass (google.com: domain of linux-kernel+bounces-70816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A12891C20F57 for ; Mon, 19 Feb 2024 07:21:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F78120B00; Mon, 19 Feb 2024 07:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="aWwgAIiB" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D06B208C0 for ; Mon, 19 Feb 2024 07:21:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708327277; cv=none; b=pTZg/fX2tdTd+6EDOiUlAxe+xsa6Rf7jV1HWNZ6fTo29ZyuzzqCpaSt90b/e1fHFcrZ6i9BvT5yBgQ+04nB22QVJoM5b9VqzQwIJQx6yHlj6w6znLqFPNP1adV9EuwcITEQPKQAf/tUriHUQWORKfIzICYLx7UlaPrQ9ACaueDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708327277; c=relaxed/simple; bh=QN0mnIvLWaqPN7bppER4z5cXJNGlnW4ZBUQce0v0esE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AWW1WLqzwQXE8oCOA+AWve2BXkV4JVoWI7JV/RzSSiq1MUYdlPRIvhfipS+zceNK2B/W9F46kOf7yqi/tKxRSwvYKatq29hxodd5v+2k+P41uZXn82pk+EvV1woRUqasSyZs9m53V7HUEvPChhyWc6HqdlRbLgfZqthkCwMlcp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=aWwgAIiB; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4125df3c40aso13601475e9.3 for ; Sun, 18 Feb 2024 23:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1708327274; x=1708932074; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=PVqM0b0itzTgllW893u9sbLtVTXtg0oDYKDS5Qi+rsQ=; b=aWwgAIiBkKJcNNRvtZvPkgZaOkTx985uMBvssGNY/rsIMO33XFFNmESRpjFvUGVqME g8HqKinnK4V344I2D4E91zpJRbgLKtbqNpbvuMK0BlmrLVRRH5ALDD79PLQviQw19vGt i7vRXOpeFgTSSKhDV71KEVuEKbZO+vhSaJqjr+oeryEYALLaDc/OrFg/ycOcghx9MkSx YsEgTiW+eDbNn1JWvx4fCg0Hb3Mp6NQK9kvAN93nCUxMyQYDmtDt+lpeZt6tEuqcsMf/ WpyeQ2STKU2tau1ubq7vMjh/WsPZYNCRA/3aI1sYrbPUNWxVp+k9FjWJeR6fZo12NaBQ czGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708327274; x=1708932074; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PVqM0b0itzTgllW893u9sbLtVTXtg0oDYKDS5Qi+rsQ=; b=suvnyH1acVo87GJ289wyAuIbkycQG1uOU6QUVod440uSXw3Fj97dpvy2Rkmm2PxUUv bRhQmIcL8sWikpZRWtzTQzg993TLd704kH2vtEWGBqIB7cIDz5uHhCVqy+Wx+OQM1/F1 rXA9R9dwnyZ2qLUtpq/vQbg0Nn7xDN4ePXCM61PCdz3oTZRjcYR1xjH5QraDaGiRwRsD N4obSeSxsPX7HdIho2v25JUO+xcdzgnoLDkXtVIzwKOzvpreo1gicgQYQkte/9gzDjn+ o/LUwVrxsZXN3EeqcQB0CUPWYKJnkspalWETkekZtULF+WBEhcZCvak+TXEQhVRMP6j0 3urA== X-Forwarded-Encrypted: i=1; AJvYcCUOwFG3RvzWk9yG6iWVvKtXnW2e+wJFEm32C8zFtlzd05kmlTl/RA1e5Nk5MkxicC/72pMSQKsHj86fQPmD3QJv3+PoY79BA+3Cc4gx X-Gm-Message-State: AOJu0YxIfNoJB/K1BVhj1Xt5TVv4z3U6QbDWA5Z00n9bIa2gA3XfaAsu YOmOjLaFtgr0jicFwyP18C+vr2rDFQo8NuikOIMMlu3vEC8DGDg4gQzJ6out X-Received: by 2002:a05:600c:1c0e:b0:412:698b:d7bd with SMTP id j14-20020a05600c1c0e00b00412698bd7bdmr222859wms.31.1708327273709; Sun, 18 Feb 2024 23:21:13 -0800 (PST) Received: from [192.168.1.10] ([94.9.209.181]) by smtp.googlemail.com with ESMTPSA id z19-20020a7bc7d3000000b00411e1574f7fsm10327647wmk.44.2024.02.18.23.21.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 23:21:13 -0800 (PST) Message-ID: <89630027-f93c-4e1d-a9c0-a120b8f0bc9e@googlemail.com> Date: Mon, 19 Feb 2024 07:21:09 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Betterbird (Linux) Subject: Re: [PATCH] fs/ntfs3: fix build without CONFIG_NTFS3_LZX_XPRESS To: Mark O'Donovan , linux-kernel@vger.kernel.org Cc: ntfs3@lists.linux.dev, almaz.alexandrovich@paragon-software.com References: <20240214224500.811609-1-shiftee@posteo.net> Content-Language: en-GB From: Chris Clayton In-Reply-To: <20240214224500.811609-1-shiftee@posteo.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi. On 14/02/2024 22:45, Mark O'Donovan wrote: > When CONFIG_NTFS3_LZX_XPRESS is not set then we get the following: > fs/ntfs3/frecord.c:2460:16: error: unused variable ‘i_size’ > > Signed-off-by: Mark O'Donovan > --- > fs/ntfs3/frecord.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c > index 3b42938a9d3b..7f27382e0ce2 100644 > --- a/fs/ntfs3/frecord.c > +++ b/fs/ntfs3/frecord.c > @@ -2457,7 +2457,6 @@ int ni_read_frame(struct ntfs_inode *ni, u64 frame_vbo, struct page **pages, > struct ATTR_LIST_ENTRY *le = NULL; > struct runs_tree *run = &ni->file.run; > u64 valid_size = ni->i_valid; > - loff_t i_size = i_size_read(&ni->vfs_inode); > u64 vbo_disk; > size_t unc_size; > u32 frame_size, i, npages_disk, ondisk_size; > @@ -2509,6 +2508,7 @@ int ni_read_frame(struct ntfs_inode *ni, u64 frame_vbo, struct page **pages, > err = -EOPNOTSUPP; > goto out1; > #else > + loff_t i_size = i_size_read(&ni->vfs_inode); > u32 frame_bits = ni_ext_compress_bits(ni); > u64 frame64 = frame_vbo >> frame_bits; > u64 frames, vbo_data; > > base-commit: 7e90b5c295ec1e47c8ad865429f046970c549a66 Mark - Thanks for the patch. Alex - Fixes a build bug introduced by 4fd6c08a16d7f1ba10212c9ef7bc73218144b463. Tested-by: Chris Clayton