On 11/3/22 14:59, Matthias Gerstner wrote:
The fix is simply to use the file system type field instead. Whitespace in the mount path is escaped in /proc/mounts thus no further safety measures in the parsing should be necessary to make this correct.
Can you please send a patch to replace seq_printf with seq_escape in afs_show_devname though? I couldn't find anything that prevents cell->name and volume->name from containing a space, so better safe than sorry.
Paolo