lkml.org 
[lkml]   [2019]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 02/13] exfat: add super block operations
On Friday 20 December 2019 01:24:08 Namjae Jeon wrote:
> This adds the implementation of superblock operations for exfat.
>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
> ---
> fs/exfat/super.c | 732 +++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 732 insertions(+)
> create mode 100644 fs/exfat/super.c
>
> diff --git a/fs/exfat/super.c b/fs/exfat/super.c
> new file mode 100644
> index 000000000000..07687997c7f8
> --- /dev/null
> +++ b/fs/exfat/super.c

...

> +
> + 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?

> + }
> +
> + 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...

> + ret = exfat_load_bitmap(sb);
> + if (ret) {
> + exfat_msg(sb, KERN_ERR, "failed to load alloc-bitmap");
> + goto free_upcase_table;
> + }

--
Pali Rohár
pali.rohar@gmail.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-12-29 14:56    [W:0.149 / U:11.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site