segbuf.c (6c477d44a7dad43a2783b4dea7f4ca3882d77126) segbuf.c (7a65004bbaa6a21a0438aac9c64814e46084dc3f)
1/*
2 * segbuf.c - NILFS segment buffer
3 *
4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

169 segbuf->sb_sum.flags = flags;
170 segbuf->sb_sum.sumbytes = sizeof(struct nilfs_segment_summary);
171 segbuf->sb_sum.nfinfo = segbuf->sb_sum.nfileblk = 0;
172 segbuf->sb_sum.ctime = ctime;
173 return 0;
174}
175
176/*
1/*
2 * segbuf.c - NILFS segment buffer
3 *
4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

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

169 segbuf->sb_sum.flags = flags;
170 segbuf->sb_sum.sumbytes = sizeof(struct nilfs_segment_summary);
171 segbuf->sb_sum.nfinfo = segbuf->sb_sum.nfileblk = 0;
172 segbuf->sb_sum.ctime = ctime;
173 return 0;
174}
175
176/*
177 * Setup segument summary
177 * Setup segment summary
178 */
179void nilfs_segbuf_fill_in_segsum(struct nilfs_segment_buffer *segbuf)
180{
181 struct nilfs_segment_summary *raw_sum;
182 struct buffer_head *bh_sum;
183
184 bh_sum = list_entry(segbuf->sb_segsum_buffers.next,
185 struct buffer_head, b_assoc_buffers);

--- 348 unchanged lines hidden ---
178 */
179void nilfs_segbuf_fill_in_segsum(struct nilfs_segment_buffer *segbuf)
180{
181 struct nilfs_segment_summary *raw_sum;
182 struct buffer_head *bh_sum;
183
184 bh_sum = list_entry(segbuf->sb_segsum_buffers.next,
185 struct buffer_head, b_assoc_buffers);

--- 348 unchanged lines hidden ---