Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15311927ybl; Tue, 31 Dec 2019 05:33:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyIwlGquDEU6OpWlcM27baxDyPWqAJg6TdumFZpmcRiIxDF+ZB7dmPtCZc2noAFgjapEUoN X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr78838598otp.108.1577799218801; Tue, 31 Dec 2019 05:33:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577799218; cv=none; d=google.com; s=arc-20160816; b=mhXpTNxgvH+aoOmaBdX/M88hnA8E71mvHvjEqc20WCx8dr9gR0SQOjBhv4inRJqU4F qy2uAdW2cnDAKhHlHKY7srhLGkKFg+L9ZEDAgitoY52wJOXNWKBEJ3XmeZuMtRs2ueOM mOPP69162B9SyyFT5RvSyVBD9gk4xLVPYrnJsydfCAbrQnBrT+q3LoQ7+zqLEw8+bmJx YFZzqnIpS5XAFeaKbRzGWNwNiL3qJ3pFg8c0zlBXCKF1P5Ab2avT68bC7K9ZuaEGB+2n uWS37rvqcGVUbSZLPJ90O0INjQCe0t1qMgg2HcsaSVGgj+ynLVAHUvMXStpMiDV8lVpC 41Jg== 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=rsWmXz42DgSwnorUijNfMZQZO4psLsfpHhCkGYBg2SM=; b=yw80quVQknOEmrDk+GrOjS5esnGdFHijkr0iSt7ARX1sw5Juu9Ecxq7aghf6a4CUVx /Q88dSNo7RzsDADlwYu8bdzIZZxq2DvJD2MerioaObgiBpOGpwV276BxwIBkj+rwR/6+ aDwikks+7TX76nE/hW3fqqIkfXAVw34wha0ZTG1cTptutihkl0RpGbHh9NfLegPkaMI3 55FvDS3HsoXUHVgHe24BGwvgAPeZRCeOuVpETsG5ZETfmo38VfNhyCEtGuF+HQbFY3yC L5G0okzwbYONFz1ftHwlEASfX5doxlw9NrGCcdi6YUMpah9lC4qvp6TmZnS98rI+VDLJ GEsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TcrmWx2k; 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 a3si18341863otr.37.2019.12.31.05.33.25; Tue, 31 Dec 2019 05:33:38 -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=TcrmWx2k; 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 S1727064AbfLaNch (ORCPT + 99 others); Tue, 31 Dec 2019 08:32:37 -0500 Received: from mail-ot1-f48.google.com ([209.85.210.48]:46767 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbfLaNch (ORCPT ); Tue, 31 Dec 2019 08:32:37 -0500 Received: by mail-ot1-f48.google.com with SMTP id k8so33156183otl.13; Tue, 31 Dec 2019 05:32:36 -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=rsWmXz42DgSwnorUijNfMZQZO4psLsfpHhCkGYBg2SM=; b=TcrmWx2kCxqHOCyHXPAuIsY1nG52sEwp7s7IpK8VrAPJ7OzyWV7kzJDUIVw1czhIvk Lirqcg3bbstasYMyzPjufbJHO40BnMJh7Ze0RdOFIxYTfF5QONxDlfzxxTvasBcekRVz 60M6uEsRXD1pg4D647eEqyQjTiI56Zh7kPcuBW8KjZVNNDwo5c7a5DlMd/KwsEmTVLJG lLm9dYWPSGceTu3iSvx9bMaUd9JB31XkPFJ42g9O9TmwUlq++h84pRCjuwRfAw1OSXUf Bjx7LbkuXKx+MQSNFsM5Lp/gzn07+6B1f30is8b62ReKueqIw9iMQdMnyKpKGfQfs++/ Ubcg== 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=rsWmXz42DgSwnorUijNfMZQZO4psLsfpHhCkGYBg2SM=; b=IjfQyDgO2iF38MH+NBXlK4C8jsSVEXbJQXMxZYz05J8D2xSB5gks4RbgIhw1edBcDb I8OLBOE4aM/J0+/DFkG5QTkYsLla25KpsEVD5W+8Myhv1qyHk9aMhrJ8ha4B98Llti2B rNf+hFiPedWEZiWRgC8TIh3v33rd5Rn6Iq7J86x32zbPo0bDGjad8xjPv0q4sKwsc59l q/JiT3xI0pUzMx+TQ4gT8ZSPivg5grGmZVLgjeJjYTEJ5aqnr88FQxClWtLWOmkCActb U5gP7fisFs09KSOwzmnV2YkyrJPSZqaxLPvQOs99zjJxyS9FGc+GXZjklPpjOs6j6dTA YIEQ== X-Gm-Message-State: APjAAAW96X9cOjp6UkiM5nxgXVausxgjcSXx/NNmI8OF3qhhD1NNe38I 7FSJWlxO7RYOrdWLJrmNVCR8FruWV91on6h5jBY= X-Received: by 2002:a05:6830:145:: with SMTP id j5mr77302068otp.242.1577799156508; Tue, 31 Dec 2019 05:32:36 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a8a:87:0:0:0:0:0 with HTTP; Tue, 31 Dec 2019 05:32:35 -0800 (PST) In-Reply-To: <20191229135548.qu3i3zglezlnndds@pali> References: <20191220062419.23516-1-namjae.jeon@samsung.com> <20191220062419.23516-3-namjae.jeon@samsung.com> <20191229135548.qu3i3zglezlnndds@pali> From: Namjae Jeon Date: Tue, 31 Dec 2019 22:32:35 +0900 Message-ID: Subject: Re: [PATCH v8 02/13] exfat: add super block operations To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: Namjae Jeon , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu, hch@lst.de, sj1557.seo@samsung.com 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 >> + if (le16_to_cpu(p_bpb->bsx.vol_flags) & VOL_DIRTY) { >> + sbi->vol_flag |= VOL_DIRTY; >> + exfat_msg(sb, KERN_WARNING, >> + "Volume was not properly unmounted. Some data may be corrupt. Please >> run fsck."); > > Hello, do you have some pointers which fsck tool should user run in this > case? Hello, Only windows recovery tool for now. fsck in fuse-exfat is early stage yet. So I am preparing exfat-tools included a reliable fsck. > >> + } >> + >> + ret = exfat_create_upcase_table(sb); >> + if (ret) { >> + exfat_msg(sb, KERN_ERR, "failed to load upcase table"); >> + goto free_bh; >> + } >> + >> + /* allocate-bitmap is only for exFAT */ > > It looks like that this comment is relict from previous version which > had also FAT32 code included... Yes, It is leftover from vfat support in sdfat, Will remove it. Thanks!