anchor.diff:      end.
   
   
  --spec list_whitelisted(forest(),list_opts(), [link_name()]) -> {ok, [link()]} | {error, term()}.
  -list_whitelisted(ParentUuid, Opts, ChildrenWhiteList0) ->
  +-spec list_whitelisted(forest(),list_opts(), [link_name()]) -> {ok, [link()], list_extended_info()} | {error, term()}.
  +list_whitelisted(ParentUuid, Opts, ChildrenWhiteList) ->
       Size = sanitize_size(Opts),
       NonNegOffset = sanitize_offset(Opts, false),
       LastName = sanitize_last_name(Opts),
  -    ChildrenWhiteList1 = case LastName of
  +    FilteredChildrenWhiteList = case LastName of
           undefined ->
  -            ChildrenWhiteList0;
  +            ChildrenWhiteList;
           LastName ->
  -            lists:dropwhile(fun(Name) -> Name < LastName end, ChildrenWhiteList0)
  +            lists:dropwhile(fun(Name) -> Name < LastName end, ChildrenWhiteList)
       end,
       try
           ValidLinks = lists:flatmap(fun
  
positive.code:                 [];
              ({error, _} = Error) ->
                  throw(Error)
          end, file_meta_links:get(ParentUuid, all, ChildrenWhiteList1)),
  
          case NonNegOffset < length(ValidLinks) of
              true ->
  
negative.code:             ?DEFAULT_LS_BATCH_SIZE;
          Size when is_integer(Size) andalso Size >= 0 ->
              Size;
          %% TODO VFS-7208 uncomment after introducing API errors to fslogic
          %% Size when is_integer(Size) ->
          %%     throw(?ERROR_BAD_VALUE_TOO_LOW(size, 0));
          _ ->
              %% TODO VFS-7208 uncomment after introducing API errors to fslogic
              %% throw(?ERROR_BAD_VALUE_INTEGER(size))
              throw(?EINVAL)
      end.
  
  