• Hirofumi Ogawa's avatar
    [PATCH] Consolidate dot-stripping code · 602e2806
    Hirofumi Ogawa authored
    From Ren <l.s.r@web.de>
    
    there are several places inside fs/vfat/namei.c where the length of a
    struct qstr without any trailing dots is calculated. The patch below
    adds a function vfat_striptail_len() which does that and makes use of it.
    602e2806
namei.c 27.1 KB