vfs: move getname() from callers to do_mount()