anchor.diff:  -spec derive_gid_from_parent(Storage_helper_info :: record(), File :: string()) -> ok | {error, ErrNo :: integer()}.
   %% ====================================================================
   derive_gid_from_parent(SHInfo, File) ->
  -  case helpers:exec(getattr, SHInfo, [fslogic_path:strip_path_leaf(File)]) of
  -    {0, #st_stat{st_gid = GID}} ->
  -      Res = chown(SHInfo, File, -1, GID),
  -      ?debug("Changing gid of file ~p to ~p. Status: ~p", [File, GID, Res]),
  -      Res;
  -    {ErrNo, _} ->
  -      ?error("Cannot fetch parent dir ~p attrs. Error: ~p", [fslogic_path:strip_path_leaf(File), ErrNo]),
  -      {error, ErrNo}
  -  end.
  +    case helpers:exec(getattr, SHInfo, [fslogic_path:strip_path_leaf(File)]) of
  +        {0, #st_stat{st_gid = GID}} ->
  +            Res = chown(SHInfo, File, -1, GID),
  +            ?debug("Changing gid of file ~p to ~p. Status: ~p", [File, GID, Res]),
  +            Res;
  +        {ErrNo, _} ->
  +            ?error("Cannot fetch parent dir ~p attrs. Error: ~p", [fslogic_path:strip_path_leaf(File), ErrNo]),
  +            {error, ErrNo}
  +    end.
   
   %% get_mode/1
   %% ====================================================================
  
positive.code:                                     end,
                                  SelectedSpace0 = [SP || #space_info{space_id = X} = SP <- UserSpaces0, utils:ensure_binary(SpaceId) =:= X],
                                  SelectedSpace0;
                              _  ->
                                  SelectedSpaceId
                          end,
  
  
negative.code:                     end;
                  {error, 'NIF_not_loaded'} -> ErrorCode2;
                  _ ->
                      ?error("Can not create file ~p, code: ~p, helper info: ~p, mode: ~p, CTX: ~p / ~p", [File, ErrorCode2, Storage_helper_info, Mode bor ?S_IFREG, fslogic_context:get_fs_user_ctx(), fslogic_context:get_fs_group_ctx()]),
                      {wrong_mknod_return_code, ErrorCode2}
              end
      end.
  
  %% truncate/3
  %% ====================================================================
  