···4848%% If implementation provides multiple trees then the `AName' will be set to the
4949%% tree defined by the client. It is left to the implementation to ensure the
5050%% constraints of the file root (aka `walk(Root, "..", State0) =:= {Root, State1}'.
5151--callback root(AName :: unicode:chardata(), state()) -> {ok, e9p:qid(), state()}.
5151+-callback root(UName :: unicode:chardata(), AName :: unicode:chardata(), state()) -> {ok, e9p:qid(), state()}.
52525353-callback flush(state()) -> {ok, state()} | {error, term(), state()}.
5454···105105 Error -> Error
106106 end.
107107108108-root({Mod, State}, AName) ->
109109- case Mod:root(AName, State) of
108108+root({Mod, State}, UName, AName) ->
109109+ case Mod:root(UName, AName, State) of
110110 {ok, QID, NewState} ->
111111 {ok, QID, {Mod, NewState}}
112112 end.