vfs: Further changes from macro to inline function in fs.h