[PATCH] Consolidate dot-stripping code
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.
Showing
Please register or sign in to comment