Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6308583ybl; Wed, 15 Jan 2020 02:26:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzQ04uYQ4Ef/j3qD4oWHiepnFOE9uhq5KJ05oQrCly88LOI/XRyKsIMFbdMDKcBBTUfkeXu X-Received: by 2002:aca:1c0d:: with SMTP id c13mr19511489oic.44.1579084012128; Wed, 15 Jan 2020 02:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579084012; cv=none; d=google.com; s=arc-20160816; b=WMdUrUi8TJx8sGqYXXtinINJkCvLtxiJsrYJe9eK08siCcWa7ON872hLLGZ7Zx5aE/ UCZK7EtxFDgdLdbvWWOb+GooPdAJJBfC674fmVF59KauINST0Y8CvBdUEN++GOXrav0v /SpR7WD1cC9mhBnIOAfyUaMz8CdhrFnmImq+gyYaKSfJwDRJIaun8OhUjT+QEQTuFFmd 0ArJxcJ6Y377ZPXcrsTOEIqxJsqOJ116Y7gj9jpRyqIEuqVkiXWin8dUCpGzV40xdG5X PSSVjHoh0dT0kh+4iH2CjKN5tTP++/8hMw+BlkNIrHLO1LS//4zkaUO3iJoiJggSu4jB RRFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=1olNgCeTtb0xfDE6fmhnfT1Ov0Rw2VfS3j47t6wig2Q=; b=mx8yxXk12HLL/eRwiXDoxCuSU2ohhqvTuRyg7kiJIilbQA5RNbXhZf2wZqkikGHMSs 6/ghC3NECjjs8BFFmJFzbi0CrczGwwZ6t30UoVxkTnM6v+CQfLiL/F1GEAEbyHFXc5MT SBxwl1/dkUlPP4HNg/xi+PUzmyUzrrdZL806E3PnLjOu8jQvb7bGST/KKmCVYBrP+wf1 ybbBo7BBctUbFVHvjvNWxpV4hpaeQgEGldiz1UmVykzogHzfwTSHoHK3HD1lNwSuzZUN Gkyf5tpboSZy6YQGHf92kc4UDK+dOqTdhzMiVfMOMlgchgBbE9qP4p3hglbk5M7FW9YT nv/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si1058926otn.123.2020.01.15.02.26.40; Wed, 15 Jan 2020 02:26:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729736AbgAOKZm (ORCPT + 99 others); Wed, 15 Jan 2020 05:25:42 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:38643 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729631AbgAOKZm (ORCPT ); Wed, 15 Jan 2020 05:25:42 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPSA (Nemesis) id 1Msqty-1jg3X12u40-00t9dl; Wed, 15 Jan 2020 11:25:39 +0100 Received: by mail-qt1-f173.google.com with SMTP id i13so15299053qtr.3; Wed, 15 Jan 2020 02:25:39 -0800 (PST) X-Gm-Message-State: APjAAAUMoawuhGAUQ9MTz8INzejSe+qde0QOIWMaz/uZdZXOV9pghxpe j5FLZZ01KtJw6XJfkEmObjiT9BzxlypNZ6vvLLM= X-Received: by 2002:ac8:6153:: with SMTP id d19mr2754011qtm.18.1579083938582; Wed, 15 Jan 2020 02:25:38 -0800 (PST) MIME-Version: 1.0 References: <20200115082447.19520-1-namjae.jeon@samsung.com> <20200115082447.19520-4-namjae.jeon@samsung.com> In-Reply-To: <20200115082447.19520-4-namjae.jeon@samsung.com> From: Arnd Bergmann Date: Wed, 15 Jan 2020 11:25:22 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 03/14] exfat: add inode operations To: Namjae Jeon Cc: "linux-kernel@vger.kernel.org" , Linux FS-devel Mailing List , gregkh , Valdis Kletnieks , Christoph Hellwig , sj1557.seo@samsung.com, linkinjeon@gmail.com, =?UTF-8?Q?Pali_Roh=C3=A1r?= Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:qQ16a62MJXwG16nVvWgdenECLmibZogu1QKYOCn6yF7WN+F64A7 oCfznoFSDHUQvAI2cT+b49ziPDKC7yH4BJp1fLtx4FW38znBzVNXFaTjzc3fIGp4/3T09UA l5UwAcMCip1wMuWMh+QvJUvw7xdJtjB2H5K+7P/QgGeWA+R+BiPXKty5zTEKrV/cqHvC8H+ UtdHaTpbbDTlIY/U/KY2g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:1WCkLNSHsGA=:fD2fqRZjniq/nEdkNJ6ajr b6/SpojxTHCCkIcJcnotza/iA3JSeUndTVdUF5eL6uGAW7NhLGr3U7RPhglGfP6nMhkVvsJmS 785WSlpW1EV8rcU0sxp1soJsTo0nW39KHsU3H1CiYQjc/7JNAB9MQS1duPHX/C6CU6nRTLiHU be2o9p/Qky1zdjqLPQrqcATBBDE+IYd1S9V/mKDMDa2x+wf7Ez4PwazBqyuD0JMdn2+WEEF/1 aWJ2KMl7xEtVgg6tscayjMLQ9/HTdDEUDRicnEvvyyoizNN24yGvQGqO8190SB4npt0IKL/GL GBXiIDonJJ77eFx1OA3wtVwNALQsfGmFLbMKvJaqtduL0YQE6Xg6yOgIq4FsUtdnU8Lp8j/uG K2uzjxnGtNYmwoQdvoIbklwefGSNbBPA1RTFSyIy83VOsnAojOVpjbkfvy5vOhBOqfb8p97cu u0nxPXlwuoICXkBEdyleFDrpKZN6WSJHMcf8ZsyzwOCANPwIrnaTdAcnli6kuH/9dbva7smTC aZKNn0WRTRmu7z7d5sZ3iIRz7p2vBpIHDiLtbBIroLLT/hDoU/H56cSPkMrGZxI/mUkcmR8K7 6Ahg+WjPL0crdsi9USLeIjn0jjrzRudpcBiRtNJPEpnwbefyHZyHxPZxUcQSHUIpx0h8ZS6eW sWsBAEqQ5vWQkKjYdY1a0kx1oe0Wgfgyd+Xmpy55z/GXzTBuk6yydxDm8lHF+NI2hx9SRnLgB zG/onPjPm1tXug3x26LALOl0XlQub3MaIe80RUuAzgiUxQ647sqJb628yCroj8qrwe+bYqiyn +f0BIAwT4kUaTXl4J1NRSWkjiKjhB9ZvWVJ2sXsV5VElVFz0PD42AL2I/F3MKfpj3672Qgc+X Zug/MC75cp6m73vTr2Qw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 15, 2020 at 9:28 AM Namjae Jeon wrote: > + /* set FILE_INFO structure using the acquired struct exfat_dentry */ > + exfat_set_entry_time(sbi, &inode->i_ctime, > + &ep->dentry.file.create_time, > + &ep->dentry.file.create_date, > + &ep->dentry.file.create_tz); > + exfat_set_entry_time(sbi, &inode->i_mtime, > + &ep->dentry.file.modify_time, > + &ep->dentry.file.modify_date, > + &ep->dentry.file.modify_tz); > + exfat_set_entry_time(sbi, &inode->i_atime, > + &ep->dentry.file.access_time, > + &ep->dentry.file.access_date, > + &ep->dentry.file.access_tz); I wonder if i_ctime should be handled differently. With statx() we finally have a concept of "file creation time" in "stx_btime". so it would make sense to store dentry.file.create_time in there rather than in i_ctime. It seems that traditionally most file systems that cannot store ctime separately just set i_ctime and i_mtime both to what is is modify_time here, though fat and hpfs use i_ctime to refer to creation time. Arnd