Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40899C3F68F for ; Mon, 27 Jan 2020 10:15:39 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17E97208CD for ; Mon, 27 Jan 2020 10:15:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IOom2ukh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17E97208CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-kernel-mentees-bounces@lists.linuxfoundation.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 09A5C8553C; Mon, 27 Jan 2020 10:15:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e9s3sKYuiIJL; Mon, 27 Jan 2020 10:15:38 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id A0B6885497; Mon, 27 Jan 2020 10:15:38 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 908F9C0177; Mon, 27 Jan 2020 10:15:38 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 26529C0171 for ; Mon, 27 Jan 2020 10:15:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 15948878A0 for ; Mon, 27 Jan 2020 10:15:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CBuhbat7pAWv for ; Mon, 27 Jan 2020 10:15:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id A38C8875BC for ; Mon, 27 Jan 2020 10:15:36 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id s64so4906180pgb.9 for ; Mon, 27 Jan 2020 02:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eMr4psfWgJ9fb4qbP9kKyPdJt7Lo5XGdcJP/eVazIso=; b=IOom2ukhWfgNkJRLBcke9EKnz6KTi0/vaHrfCaz/g1+TL2io1DE6doYYcxrp0yqNZo sx6tkg4oMaDQTPvZi5GuP7HK49stci4jd81bFLke3W+YnBhRXjdCf9O+XLoKiypdU/LM cm3POzg0I/hlcR/gh7A8QyZBa08ghlp+zTxOk8ZNwV1UNYHy7J9X8yzG21PW9Jqq3v1U /fYyvg+SCetcffMmD0VGsmQ195sHdXsAl/4CQD5T/APaamNigBdHWgWO1GGPHjYAMhU3 RngrieQSpnWlCHNkZmgzlRs/sV7rpya6GPiFtu01YGeHxEoJnbxv4Zi81spH1UgHtLCs GQUA== 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; bh=eMr4psfWgJ9fb4qbP9kKyPdJt7Lo5XGdcJP/eVazIso=; b=m3TIFOKAMPagoVLGOip8md+QcA7Dv4X7W8Msl4i3nI1y1z3zfgVOZ5nTlWQ74p+4lQ +45Qsb9izSphLu9iUVf77dvCby9Yq+b/edylD+ftAV4HgQq0xFBLi9APD/2wTokxfUh+ YbOvgS7FF4JpqH/62xatGRv2M2lQsaCIXEG1I5cRqghtsyPvawpe6r7z7p1mTUpsSWKP qo+twrXobxKLgo3YQ+TRlRzRsQ4tivJE1d1qaWY6yaDsmvSZNPHAbbSP35EPrw4G+vi7 6ktWHLy/lyzIIz/SbiNXa9b7oVnjk0B/ul5lNuPS/hE0WzNACEbygFXYwGNFwwi4johw Hc9Q== X-Gm-Message-State: APjAAAU8IHQCE5I3mJfRrDTs+Kq4XZ4xHxaTne82OGfu2ezyjUw63r0S hlQ3XMpgs/pIEOZxzYoWqNtQmL0nl6w= X-Google-Smtp-Source: APXvYqwV371FrvlzQir9WoQFP5YSMgFPDn0zPWiHdeQGOBE1SFHUqH2is1uMBFsvhXjS+T64ceo7ew== X-Received: by 2002:a62:2ccd:: with SMTP id s196mr7280282pfs.227.1580120136290; Mon, 27 Jan 2020 02:15:36 -0800 (PST) Received: from localhost.localdomain ([2405:205:c902:a5e9:3956:8df2:aee5:9cf6]) by smtp.gmail.com with ESMTPSA id s15sm15504138pgq.4.2020.01.27.02.15.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 02:15:35 -0800 (PST) From: Pragat Pandya To: valdis.kletnieks@vt.edu, gregkh@linuxfoundation.org Date: Mon, 27 Jan 2020 15:43:36 +0530 Message-Id: <20200127101343.20415-16-pragat.pandya@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200127101343.20415-1-pragat.pandya@gmail.com> References: <20200127101343.20415-1-pragat.pandya@gmail.com> Cc: devel@driverdev.osuosl.org, Pragat Pandya , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [Linux-kernel-mentees] [PATCH 15/22] staging: exfat: Rename variable "UsedClusters" to "used_clusters" X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" Change all the occurrences of "UsedClusters" to "used_clusters" in exfat. Signed-off-by: Pragat Pandya --- drivers/staging/exfat/exfat.h | 2 +- drivers/staging/exfat/exfat_super.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 4cc5c1914864..abed7fed3823 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -246,7 +246,7 @@ struct vol_info_t { u32 cluster_size; u32 num_clusters; u32 free_clusters; - u32 UsedClusters; + u32 used_clusters; }; /* directory structure */ diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 7a8b876414bd..223699a21079 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -497,8 +497,8 @@ static int ffsGetVolInfo(struct super_block *sb, struct vol_info_t *info) info->fat_type = p_fs->vol_type; info->cluster_size = p_fs->cluster_size; info->num_clusters = p_fs->num_clusters - 2; /* clu 0 & 1 */ - info->UsedClusters = p_fs->used_clusters; - info->free_clusters = info->num_clusters - info->UsedClusters; + info->used_clusters = p_fs->used_clusters; + info->free_clusters = info->num_clusters - info->used_clusters; if (p_fs->dev_ejected) err = -EIO; @@ -3351,8 +3351,8 @@ static int exfat_statfs(struct dentry *dentry, struct kstatfs *buf) info.fat_type = p_fs->vol_type; info.cluster_size = p_fs->cluster_size; info.num_clusters = p_fs->num_clusters - 2; - info.UsedClusters = p_fs->used_clusters; - info.free_clusters = info.num_clusters - info.UsedClusters; + info.used_clusters = p_fs->used_clusters; + info.free_clusters = info.num_clusters - info.used_clusters; if (p_fs->dev_ejected) pr_info("[EXFAT] statfs on device that is ejected\n"); -- 2.17.1 _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees