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 > Signed-off-by: Sungjong Seo > --- > 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