Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6495323ybl; Wed, 15 Jan 2020 05:41:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzgOT9K1QdcOhfy5HTD0TQsCqz1thJ6b989Aopzi26BnbXwd1AvEW/77YhiI6OQNxTs5I/Q X-Received: by 2002:aca:55cc:: with SMTP id j195mr21198699oib.22.1579095677333; Wed, 15 Jan 2020 05:41:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579095677; cv=none; d=google.com; s=arc-20160816; b=eBjfoSaJ+vhDiHIATkwodPMUzA0kUlXV+tWaZgsPc+pNVykeZ83a2E7RQsVCIpQgPi jBNG6iaFmC6qtnWQqBt7tDhntjCVc4lc7bMZqMYv9S8QBpLuvA17IfCejNs4U4vuOaVI scaCWnJvbxVhKndu0IU9Dt4Q38PV5tnGxO1/loxjcxJifykH7r4a7ZfqlGpwQcPBM9DZ XXIVI/zWjw7Lkb43iW64cvkPM1z95gQ5084zIJ8GKJCvTG7+GLnR/7NJ1W4pxroeAOoV NnpWclU4tiOD0DCDPjaOSjFDiFxaKV5rLqSPrW/5CoddSrNTMes1r4orObXfa9jKh5DK 12bg== 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 :references:in-reply-to:mime-version:dkim-signature; bh=f6zc5HN4DUXE781/BcWszDvELlf43+ohtINNihx8v/k=; b=c6CbLwCDcJNLqaOEcumrWHbCRx6RrtWb5P3+JWvx52NVA/ab4wFZZ/yh7PdB5FmSdv mHeyNAI+ElI8xmJxlXoONTn1HzUSJ8XkZ98xqHkLgjZjc4hibh1bDZorPbheqlXxXm73 6HCnWMcbqsAbw4G8mzpwMHKhCKWILYq1LaCBGAfAkH8TfEqK1ob5olA/EEo7E2nu9wG+ xbhr8gXc6xyjE6jSm1DrCGqulCkcnr0bQGGPNM4Djfe2SHk4eWZauRqps9K7L6fYt1qu dfjo9x+RotwXnTjdUO3xmwh61iPMKuX/+ZrIF79BDOZNZWeJfmTHCznOulVj04vRVZ1D F/Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BOxSa87j; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k23si8914110oiw.238.2020.01.15.05.41.05; Wed, 15 Jan 2020 05:41:17 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BOxSa87j; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728931AbgAONj5 (ORCPT + 99 others); Wed, 15 Jan 2020 08:39:57 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:34926 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728890AbgAONj5 (ORCPT ); Wed, 15 Jan 2020 08:39:57 -0500 Received: by mail-oi1-f194.google.com with SMTP id k4so15401500oik.2; Wed, 15 Jan 2020 05:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=f6zc5HN4DUXE781/BcWszDvELlf43+ohtINNihx8v/k=; b=BOxSa87jpc68noq8HKuBAAeZAGfCPqKsHzJXIh3SEGyU07BD2e+3wC2eYoT8oWBOMZ yzQGVZcwxu0VbLwOh8Pt4MfnCmZngfZE8F0S7w4/nbkWlYboDvoDcSuagzktWvBLh4K3 SOE/sZpn8K2n6mUK/+S4PMyOygKFlG92b8OuLVTFOsCVl9oWs9pVyDjuwMbRZDvzbg6m xWDogAPxfEofferYsRQynB03zra/p5ipj7LAM/Muww6QQ81IyjGEo/ADppCu6GUDODI+ c0Nv1iEbJY2L8xaPZzDwoshkiWWD+02ou5nFPGXbi08K7rq2g/7aFmtzADTngAPZx41d iVFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=f6zc5HN4DUXE781/BcWszDvELlf43+ohtINNihx8v/k=; b=HOFs5icTpePxgD0tiJoE/pOcrnw7FtUteY9CSQLfcJ4O0YKaLy+26SbWD3eZbHfo+f BiqwBxODr7dMay4xa0+8NCfw+7+AbiLk13fyOhUi0GC3XHJd/Ms7nt1hXA8NKpbOqz1i VtwOVWbAmPRvFbSeukp0eaq2pJCZvT/pcgUxxqKXHavvf1VcSH1Ifzys6ZxOiGYWqN5V MMbS/Q4nKPf9BW8A3d4apdNXkpRl3Gdz6UuOxugFZLKIDiUJzgad0OsA9JLc4337eILg OpYENjOM5eiKyHz1dXkqlJefchmNWDJtFIME167fcrchlaefJYloqf7D3wdajs+lRhhF Vjhg== X-Gm-Message-State: APjAAAUVASsfVA2Ww2F7gRAFWvjaLZa+mzb94fkaWWfcWeRcKB7Ve2P3 j+7q4lm1KiXNBPHmHEuKuepsEn5NNhhi4UYwaKs= X-Received: by 2002:aca:1b08:: with SMTP id b8mr12831720oib.62.1579095596501; Wed, 15 Jan 2020 05:39:56 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a8a:87:0:0:0:0:0 with HTTP; Wed, 15 Jan 2020 05:39:56 -0800 (PST) In-Reply-To: References: <20200115082447.19520-1-namjae.jeon@samsung.com> <20200115082447.19520-4-namjae.jeon@samsung.com> From: Namjae Jeon Date: Wed, 15 Jan 2020 22:39:56 +0900 Message-ID: Subject: Re: [PATCH v10 03/14] exfat: add inode operations To: Arnd Bergmann Cc: Namjae Jeon , "linux-kernel@vger.kernel.org" , Linux FS-devel Mailing List , gregkh , Valdis Kletnieks , Christoph Hellwig , sj1557.seo@samsung.com, =?UTF-8?Q?Pali_Roh=C3=A1r?= Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020-01-15 19:25 GMT+09:00, Arnd Bergmann : > 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. Right. > > 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. I will check it. Thanks for your review! > > Arnd >