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=unavailable 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 BD371C33CB7 for ; Mon, 27 Jan 2020 10:16:13 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 9370020661 for ; Mon, 27 Jan 2020 10:16:13 +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="D9LzKd2R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9370020661 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 silver.osuosl.org (Postfix) with ESMTP id 7348620035; Mon, 27 Jan 2020 10:16:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I6uSR9tmUku8; Mon, 27 Jan 2020 10:16:12 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id B461320478; Mon, 27 Jan 2020 10:16:12 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A2AE3C0177; Mon, 27 Jan 2020 10:16:12 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id BF42FC0171 for ; Mon, 27 Jan 2020 10:16:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BBF54858BA for ; Mon, 27 Jan 2020 10:16:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mDd0gOl6gXQW for ; Mon, 27 Jan 2020 10:16:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A72B083EF8 for ; Mon, 27 Jan 2020 10:16:10 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id a6so3590628plm.3 for ; Mon, 27 Jan 2020 02:16:10 -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=uqJouIHf679d7RfMVdsTQABFE3LSL2nEkmeERrDaZwA=; b=D9LzKd2Rt7AIs9CPAOlMQkST4b9wVAL5Wwt/a/aq7VbsnJHUAlpLcr7tTizWeBbLtZ gLMFSj4OR0Q8cb15gBX2FeS1jinyAggXeIR9CHk3cedgZliKk2V25TfMpZWaSpEAP+ZP XYUDL/gdge1LWZswzFM3f18lv22ujR2UMiBMSHp6YAEHUGoaTKPBx0Qu4AVpVKvsHM/h vjRHPOL/6Wq7mXj5M1G5YRnI8iFcRVOje3hBoAuWC4rl5rKyT0IhiLJeXBj7+5LEkWPs TpJbfikkQ4RTFVc0Ppal5pB5+v002OKf8Yyg2jpu9CZ5I9xVMxLZv/56U+VzfkfaDSzd rVSQ== 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=uqJouIHf679d7RfMVdsTQABFE3LSL2nEkmeERrDaZwA=; b=NsDVhaIz7TJYEM+eLx6002E0PXR3RKPIRUjlwFLOkqpBrzQ923kM2GqatZ2vSZ6NNN YOyHXGm10mTZrsyYLKcE8myPgKWd1z7yQsGL+MdDsv5imfly8Bn4/Y/54T49Ceyneb+v d2dFQSKQNlx3jbkJn6w3wDFS+4UsD3LN8wvFHX3Sw6sXvjB5re/2U6hOuv03XLlsKgUn UUzilD1MWaPJowNFi4+8LWdOOJa2d4YWCVovT5tcpIdCc+dSZC6eYDcBQlm9qfCz9L3u 9q83JIJ8tFtg+WtLUTrKTAAXhCqZznQrKot0Ew9RrtyYeWNT3vk5qiPMOI5TUFpG5q08 odnA== X-Gm-Message-State: APjAAAVzlKucoSwRPwZZWyvIKKyCAGOZMQeOkKHY/tcNkdCF+dYN99bb WAvPfOuUV0mFUZ0elFzxhNCLUJOkRC4= X-Google-Smtp-Source: APXvYqz3MdSETRa8Qhn3mjnM9xEyOqh43vFhRnyKw5NfUyKYd4uegbwy+0aEPWu+Sc3gUKuitxZUSg== X-Received: by 2002:a17:90a:ff02:: with SMTP id ce2mr1167302pjb.98.1580120170312; Mon, 27 Jan 2020 02:16:10 -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.16.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 02:16:09 -0800 (PST) From: Pragat Pandya To: valdis.kletnieks@vt.edu, gregkh@linuxfoundation.org Date: Mon, 27 Jan 2020 15:43:43 +0530 Message-Id: <20200127101343.20415-23-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 22/22] staging: exfat: Rename variable "AccessTimestamp" to "access_timestamp" 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 "AccessTimestamp" to "access_timestamp" in exfat. Signed-off-by: Pragat Pandya --- drivers/staging/exfat/exfat.h | 2 +- drivers/staging/exfat/exfat_super.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 92f36fcc4591..7424a27ca23f 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -280,7 +280,7 @@ struct dir_entry_t { u32 num_subdirs; struct date_time_t create_timestamp; struct date_time_t modify_timestamp; - struct date_time_t AccessTimestamp; + struct date_time_t access_timestamp; }; struct timestamp_t { diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 3fb7977ef27f..3364bc2140f5 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -1462,7 +1462,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) sizeof(struct date_time_t)); memset((char *)&info->modify_timestamp, 0, sizeof(struct date_time_t)); - memset((char *)&info->AccessTimestamp, 0, + memset((char *)&info->access_timestamp, 0, sizeof(struct date_time_t)); strcpy(info->short_name, "."); strcpy(info->name, "."); @@ -1522,7 +1522,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->modify_timestamp.second = tm.sec; info->modify_timestamp.milli_second = 0; - memset((char *)&info->AccessTimestamp, 0, sizeof(struct date_time_t)); + memset((char *)&info->access_timestamp, 0, sizeof(struct date_time_t)); *uni_name.name = 0x0; /* XXX this is very bad for exfat cuz name is already included in es. @@ -1942,7 +1942,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->modify_timestamp.second = tm.sec; dir_entry->modify_timestamp.milli_second = 0; - memset((char *)&dir_entry->AccessTimestamp, 0, + memset((char *)&dir_entry->access_timestamp, 0, sizeof(struct date_time_t)); *uni_name.name = 0x0; @@ -3193,7 +3193,7 @@ static int exfat_fill_inode(struct inode *inode, struct file_id_t *fid) exfat_time_fat2unix(&inode->i_mtime, &info.modify_timestamp); exfat_time_fat2unix(&inode->i_ctime, &info.create_timestamp); - exfat_time_fat2unix(&inode->i_atime, &info.AccessTimestamp); + exfat_time_fat2unix(&inode->i_atime, &info.access_timestamp); return 0; } @@ -3264,7 +3264,7 @@ static int exfat_write_inode(struct inode *inode, struct writeback_control *wbc) exfat_time_unix2fat(&inode->i_mtime, &info.modify_timestamp); exfat_time_unix2fat(&inode->i_ctime, &info.create_timestamp); - exfat_time_unix2fat(&inode->i_atime, &info.AccessTimestamp); + exfat_time_unix2fat(&inode->i_atime, &info.access_timestamp); ffsWriteStat(inode, &info); -- 2.17.1 _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees