• Andrew Morton's avatar
    [PATCH] FAT: Fix the tailing dots on the utf8 path (2/10) · e8f2950f
    Andrew Morton authored
    From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
          Michal Rokos <m.rokos@sh.cvut.cz>
    
    The problem is: even if vfat_striptail_len() counts len of name without
    trailing dots and sets len to the correct value, utf8_mbstowcs() doesn't
    care about len and takes whole name.  So dirs and files with dots can be
    created on vfat fs.
    e8f2950f
namei.c 26.6 KB