[snip] > +static int exfat_cont_expand(struct inode *inode, loff_t size) > +{ > + if (mapping_writably_mapped(inode->i_mapping)) Could you elaborate why mapping_writably_mapped is used here instead of comparing new size and old size ? Thanks. > + return exfat_expand_and_zero(inode, size); > + > + return exfat_expand(inode, size); > +} > + > static bool exfat_allow_set_time(struct exfat_sb_info *sbi, struct inode > *inode) > { > mode_t allow_utime = sbi->options.allow_utime; > -- > 2.25.1 > >