-static inline void adfs_writename(char *to, char *from, int maxlen)
-{
- int i;
-
- for (i = 0; i < maxlen; i++) {
- if (from[i] == '\0')
- break;
- if (from[i] == '.')
- to[i] = '/';
- else
- to[i] = from[i];
- }
-
- for (; i < maxlen; i++)
- to[i] = '\0';
-}
-