Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp527726pxb; Thu, 2 Sep 2021 09:18:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza5McW7ILLq2wHBca5zZeEleiIHmcAzud79imoyQmh+qy+QbuzBvK9IoK0dYlpyw6p6q2C X-Received: by 2002:a92:d20d:: with SMTP id y13mr2908246ily.294.1630599513552; Thu, 02 Sep 2021 09:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630599513; cv=none; d=google.com; s=arc-20160816; b=F8R/JAWC90nxZzlUQzkV2fYLoDnxPOH618y5RhwKYGYKTPQQNvOckO2SI1zprqrilq LYabtjgXb2ibPuGtAf6Whigr+VESWXswtW+aJXmkAa5CEbzV8Wyju8Co1bOnq05+6128 fazUneUmCHA3R68XRX0bIWWLbkU6asDNBMaEHkMU43WDN7smHz3LFIpJH6LFDZzBpLXA vKgXd+aQORljJzsdxtftopJQldYwf/4VeNbPilv3LoNwo+563rtV+4WRcIJ+fD+S9pXY Yje2nSe8OEEd9XGimTXi+qoGmiRXo1PrTXs+DGAdkMFruqYX1wWhVwBPDvMzD3FAfix0 ifpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yD0wYPOfkCihQvCi3sBoNx5SD2s8GvDXW1YwkxFjNE4=; b=yMIAdIT5dnF2C58x6i0lrRthh6bjU+aydXHl082jVp4889P2qJyzIFlfczaHusCCIh 7t9fVKtnD2ECN+n811Td31cTHDdp7rwOGljbtzcemuSksFyE9loQnw+zw1qDZ95xbm7I BBu1DJcHD8LPjqD2jN2LIJPBrtoeinvfhSzq1p6Bpo7DpagGmlj1ptFEgkzbzyAcSrd7 SDhrDS3XiK10gPBpCy+Am97UJTpqNWmbWCoNwllOJbkkiCTcQkIkKsRv5HbBctGe1dPi x7c6Dy5MkCn2tqGYRaMY876Ht3a8dw6EpEqm/CGxbZn0vRaE5dlfuPApe4KBcCr1Gg9d +qaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=psuXoDYM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n5si3023568jat.10.2021.09.02.09.18.15; Thu, 02 Sep 2021 09:18:33 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=psuXoDYM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346260AbhIBQRE (ORCPT + 99 others); Thu, 2 Sep 2021 12:17:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346205AbhIBQQr (ORCPT ); Thu, 2 Sep 2021 12:16:47 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9E54C0617AD for ; Thu, 2 Sep 2021 09:15:46 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id s3so4537167ljp.11 for ; Thu, 02 Sep 2021 09:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yD0wYPOfkCihQvCi3sBoNx5SD2s8GvDXW1YwkxFjNE4=; b=psuXoDYMDt7deUWU+DIXMOj9Rr+6zWXUXTkV/p1mEGv8yiEBOXswrnOZLjJlU07mhK XGYBuR66NNgUYjYUX1gnAQ6zqtFtEnu9RO9TruiAjmDsJfhRjXnz8K9cJFg9Ub87d64x 1Peb+PMh/V1zqn7QelAOEynZpKURGrkEF+SajvFDgop3fXcGDK29K+VBGctv7lc4TLad u+3OSIh+z2jdZeKIdEOb2LNweg/L63hsTwLE3YJbd07y9OnQahEwKRkGl2HQBft2Qg80 b7JbKZBHlSYyAhQuP0171NMp5rChbeWfsOF7fXoGantAqswyP6P0zrQEP6FY98GgcQG4 wGTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yD0wYPOfkCihQvCi3sBoNx5SD2s8GvDXW1YwkxFjNE4=; b=fYffS9YKG/T2UyyOYFMmmOqNA84e4beAFlu0dywKrmpwJH7XfeSEbio/KwAcPqMRYL 7jeF5T51Cz3UuZfOCc3Oih3/RA/OBYRmRWOEb+lAzxRa12ZkM9Hrw1ZioG+HBuXoozCU QtxmNHsRGafYrdoMNWd76Bjg/dJp4C23DJNWgortZqWBzmKT8NNvM6/r3clnKVkymlAm 0jNoQtHBEdR89DDlvPLf/ZBejqzVLFjLXZGcyxJiAUt87y11meCEw83UomqXzP9Kyrrc 3KbDvp50fu9Fzqsg6TxFZr/jOBWyEFkblL4TotyMwAIj0XV0RWU9LCzb3BktoSxeKT/D MnDA== X-Gm-Message-State: AOAM530T3JCt6gS9e6gPT7oVhTVB0e+0JB8hNjo7biDpv9FCT8ozTdvk gq41ohdRjjLTQpIunMmAZmlRH5VSOwnpwg== X-Received: by 2002:a2e:9ac7:: with SMTP id p7mr3328258ljj.72.1630599345191; Thu, 02 Sep 2021 09:15:45 -0700 (PDT) Received: from kari-VirtualBox.telewell.oy (85-23-89-224.bb.dnainternet.fi. [85.23.89.224]) by smtp.gmail.com with ESMTPSA id m7sm267811ljj.58.2021.09.02.09.15.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 09:15:44 -0700 (PDT) From: Kari Argillander To: Konstantin Komarov , ntfs3@lists.linux.dev Cc: Kari Argillander , linux-kernel@vger.kernel.org Subject: [PATCH v2 7/8] fs/ntfs3: Change right headers to lznt.c Date: Thu, 2 Sep 2021 19:15:27 +0300 Message-Id: <20210902161528.6262-8-kari.argillander@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210902161528.6262-1-kari.argillander@gmail.com> References: <20210902161528.6262-1-kari.argillander@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is lot of headers which we do not need in this file. Delete them and add what we really need. Here is list which identify why we need this header. // min() // kzalloc() // offsetof() // memcpy(), memset() // u8, size_t, etc. "debug.h" // PtrOffset() Signed-off-by: Kari Argillander --- fs/ntfs3/lznt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/ntfs3/lznt.c b/fs/ntfs3/lznt.c index f1f691a67cc4..12ba42518efe 100644 --- a/fs/ntfs3/lznt.c +++ b/fs/ntfs3/lznt.c @@ -5,13 +5,13 @@ * */ -#include -#include -#include -#include +#include +#include +#include +#include +#include #include "debug.h" -#include "ntfs.h" #include "ntfs_fs.h" // clang-format off -- 2.25.1