Deleted Added
full compact
index.c (362181) index.c (369302)
1/* index.c indexing support for FSFS support
2 *
3 * ====================================================================
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 813 unchanged lines hidden (view full) ---

822 {
823 l2p_proto_entry_t proto_entry;
824
825 /* (attempt to) read the next entry from the source */
826 SVN_ERR(read_l2p_entry_from_proto_index(proto_index, &proto_entry,
827 &eof, local_pool));
828
829 /* handle new revision */
1/* index.c indexing support for FSFS support
2 *
3 * ====================================================================
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 813 unchanged lines hidden (view full) ---

822 {
823 l2p_proto_entry_t proto_entry;
824
825 /* (attempt to) read the next entry from the source */
826 SVN_ERR(read_l2p_entry_from_proto_index(proto_index, &proto_entry,
827 &eof, local_pool));
828
829 /* handle new revision */
830 if ((entry > 0 && proto_entry.offset == 0) || eof)
830 if (eof || (entry > 0 && proto_entry.offset == 0))
831 {
832 /* dump entries, grouped into pages */
833
834 int entry_count = 0;
835 for (i = 0; i < entries->nelts; i += entry_count)
836 {
837 /* 1 page with up to L2P_PAGE_SIZE entries.
838 * fsfs.conf settings validation guarantees this to fit into

--- 2633 unchanged lines hidden ---
831 {
832 /* dump entries, grouped into pages */
833
834 int entry_count = 0;
835 for (i = 0; i < entries->nelts; i += entry_count)
836 {
837 /* 1 page with up to L2P_PAGE_SIZE entries.
838 * fsfs.conf settings validation guarantees this to fit into

--- 2633 unchanged lines hidden ---