Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8911669ybl; Fri, 17 Jan 2020 03:18:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzVDHNG77ohRfRulgerpG45/RzovzOIGeYe9SEWEKO4ALEAucOme0aY82s6x3pHBrSJzE1f X-Received: by 2002:a9d:4c81:: with SMTP id m1mr5416043otf.31.1579259902706; Fri, 17 Jan 2020 03:18:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579259902; cv=none; d=google.com; s=arc-20160816; b=zSAuazUcaaeXTciyCEDFQc3YpcCUUMtovv4qf521vgY56c2zpdv2wG6Xyzyhk6LFLz ojf7NEhWst+ZAAE7+f0SlXLRZ6OUVOv+gr8TYfp5ivf6fjK2FreqrwHjzVNBJBHRF3c7 hlPJEWmuc9HCygFjCqkllaDLIb0mHdKFy/Zz2Yqq7dAct6XPBwtnNxUDyPlRrvYGj2mm layrDrePZt+Pxt0iO/lTqmsJH+/NWx2ai2vx7Sk7GBg05DGOJNC1RRND1nFyvdhh/Tup zbkrSt3jl9Qhb1rVP976N7Djgs5wfeQ0C6BwUis1/l7VamHos1UpORsyEZtPTBCk7QpG CBTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lb6HArX/g/KCKLiMjLu+XY17yFYbcyDDPVo4BbaNQSA=; b=qYwrBS7tzl5fm0Nimhdnx5LGL1w8j/HPClsr8HXdxHQFmptTqXPMtbCugH8SBe9T3P nIU8MROMEWQQyl1LdSejEd9qa/DXBQm7RkqPPAZG6JdI8Jwxvm1P4JU6A2cTzNDdI3yL cwcNdqI9sXZavfXHBYBHr1I1PIV/M12h/IOwTH2OJsdVVoxa7SCrwvlhNnVKo63F/dXq Tnoue3AnR3yawD+WGjH39DsRtn9a9syVsxwLCPaSb6hTThaSLkaZpk2Ls0uH9jzyKHHq mxD6yI0BhpGUgIujN+h9VJx9LdlLIFlaGLdaGKMMIdhYSLa0z9bhcJK6YVoEXDZuYxCt M2LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lXaFjflM; 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 m24si14559328otn.67.2020.01.17.03.18.09; Fri, 17 Jan 2020 03:18:22 -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=lXaFjflM; 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 S1726892AbgAQLRP (ORCPT + 99 others); Fri, 17 Jan 2020 06:17:15 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37517 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbgAQLRO (ORCPT ); Fri, 17 Jan 2020 06:17:14 -0500 Received: by mail-wr1-f66.google.com with SMTP id w15so22361574wru.4; Fri, 17 Jan 2020 03:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=lb6HArX/g/KCKLiMjLu+XY17yFYbcyDDPVo4BbaNQSA=; b=lXaFjflMUG4KgT+rHlgrZ2J6LX3z9dCr8qA60GhCyRv+braKqnWg2MZC3qFFx5VGbt Q2v1pDIdvpR2I4FQoWw4/JRe+ZlCdYXP/IXQszlbox2QbN90fb4K1kxMXDA4Rz1FCOFB X4zbsiEG0Ahox5iTJqmx1WMlmmOrxhfCwuiq2qAJxOPa2cIHYm/mPsX/TmpMINCiT1LH xMVChRQ05te11fUbNPK9x8ZD+jh5Kp29Zg9RhAi2YRVKNZs7iWwsJN5w1mzzN1TbIDqq yS6ZBGr1ImR1g+JTUAi0RS11cX7l+NDOKGN0Et5fvExSC5tGbFmKSywr+0BLscG2CGij Yv1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=lb6HArX/g/KCKLiMjLu+XY17yFYbcyDDPVo4BbaNQSA=; b=k++LrseueUmZGgp7Jn/ZpBMRr9TABX7L/ul8UVPQjVAMtK05rTXhzC2TjaE1SQe/Yq jNZkFvUD01o6hNBkyJ+U7mz7TOKd09tg/ObwSnXOBTAJW206NTSCpkrylIthgdIJydRf i1duf55xSUfGcSB5lpMc2Qnf1NConChI8rtLa1aAixmyTYwJbly9hDZiAI8P1L3f4clp 6sbkY2YwL7ooNZWSqJy3J3m/9K3SMZTxP0ShPg1GhLq0cXkV3GGrAk+XotC3Aa6jvyAv PLcI/z85y0f66KN6xCsFugFAfDAqKKtWWikFQtkqYJFMcJ6YZCHocfGhyt/mC/QQnTCP yyDQ== X-Gm-Message-State: APjAAAUd0LSYI0mqdgKcPni9vfpmKIFFG0QHNehQ7LNLxhBgjE9thBCn KmRFW/1SxzhYWb7IRulMq8I= X-Received: by 2002:adf:ee82:: with SMTP id b2mr2427569wro.194.1579259832362; Fri, 17 Jan 2020 03:17:12 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id p18sm8936190wmg.4.2020.01.17.03.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2020 03:17:11 -0800 (PST) Date: Fri, 17 Jan 2020 12:17:10 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Namjae Jeon Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu, hch@lst.de, sj1557.seo@samsung.com, linkinjeon@gmail.com, arnd@arndb.de Subject: Re: [PATCH v10 03/14] exfat: add inode operations Message-ID: <20200117111710.pfo4k53vay4fhkoo@pali> References: <20200115082447.19520-1-namjae.jeon@samsung.com> <20200115082447.19520-4-namjae.jeon@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200115082447.19520-4-namjae.jeon@samsung.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 15 January 2020 17:24:36 Namjae Jeon wrote: > This adds the implementation of inode operations for exfat. > > Signed-off-by: Namjae Jeon > Signed-off-by: Sungjong Seo > --- > fs/exfat/inode.c | 667 +++++++++++++++++++++ > fs/exfat/namei.c | 1442 ++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 2109 insertions(+) > create mode 100644 fs/exfat/inode.c > create mode 100644 fs/exfat/namei.c > ... > diff --git a/fs/exfat/namei.c b/fs/exfat/namei.c > new file mode 100644 > index 000000000000..7298de74e9b8 > --- /dev/null > +++ b/fs/exfat/namei.c ... > +/* lookup a file */ > +static int exfat_find(struct inode *dir, struct qstr *qname, > + struct exfat_dir_entry *info) > +{ ... > + > + exfat_get_entry_time(sbi, &info->ctime, > + ep->dentry.file.create_time, > + ep->dentry.file.create_date, > + ep->dentry.file.create_tz); Here is missing processing of create_time_ms. > + exfat_get_entry_time(sbi, &info->mtime, > + ep->dentry.file.modify_time, > + ep->dentry.file.modify_date, > + ep->dentry.file.modify_tz); And here modify_time_ms. > + exfat_get_entry_time(sbi, &info->atime, > + ep->dentry.file.access_time, > + ep->dentry.file.access_date, > + ep->dentry.file.access_tz); > + kfree(es); > + > + if (info->type == TYPE_DIR) { > + exfat_chain_set(&cdir, info->start_clu, > + EXFAT_B_TO_CLU(info->size, sbi), info->flags); > + count = exfat_count_dir_entries(sb, &cdir); > + if (count < 0) > + return -EIO; > + > + info->num_subdirs = count + EXFAT_MIN_SUBDIR; > + } > + } > + return 0; > +} -- Pali Rohár pali.rohar@gmail.com