~ubuntu-branches/ubuntu/natty/redhat-cluster/natty

« back to all changes in this revision

Viewing changes to gfs/gfs_fsck/ondisk.c

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2009-09-15 07:15:43 UTC
  • mfrom: (1.1.16 upstream) (10.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090915071543-vr089k11l3kl9llu
Tags: 3.0.2-2ubuntu1
Remove unnecessary build dep on libvolume-id-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 */
42
42
 
43
43
static void
44
 
print_array(char *title, char *buf, int count, int console)
 
44
print_array(const char *title, char *buf, int count, int console)
45
45
{
46
46
        int x;
47
47
 
349
349
 */
350
350
 
351
351
void
352
 
gfs_rindex_in(struct gfs_rindex *rindex, char *buf)
 
352
gfs_rindex_in(struct gfs_rindex *grindex, char *buf)
353
353
{
354
354
        struct gfs_rindex *str = (struct gfs_rindex *) buf;
355
355
 
356
 
        CPIN_64(rindex, str, ri_addr);
357
 
        CPIN_32(rindex, str, ri_length);
358
 
        CPIN_32(rindex, str, ri_pad);
359
 
 
360
 
        CPIN_64(rindex, str, ri_data1);
361
 
        CPIN_32(rindex, str, ri_data);
362
 
 
363
 
        CPIN_32(rindex, str, ri_bitbytes);
364
 
 
365
 
        CPIN_08(rindex, str, ri_reserved, 64);
 
356
        CPIN_64(grindex, str, ri_addr);
 
357
        CPIN_32(grindex, str, ri_length);
 
358
        CPIN_32(grindex, str, ri_pad);
 
359
 
 
360
        CPIN_64(grindex, str, ri_data1);
 
361
        CPIN_32(grindex, str, ri_data);
 
362
 
 
363
        CPIN_32(grindex, str, ri_bitbytes);
 
364
 
 
365
        CPIN_08(grindex, str, ri_reserved, 64);
366
366
 
367
367
}
368
368
 
374
374
 */
375
375
 
376
376
void
377
 
gfs_rindex_out(struct gfs_rindex *rindex, char *buf)
 
377
gfs_rindex_out(struct gfs_rindex *grindex, char *buf)
378
378
{
379
379
        struct gfs_rindex *str = (struct gfs_rindex *) buf;
380
380
 
381
 
        CPOUT_64(rindex, str, ri_addr);
382
 
        CPOUT_32(rindex, str, ri_length);
383
 
        CPOUT_32(rindex, str, ri_pad);
384
 
 
385
 
        CPOUT_64(rindex, str, ri_data1);
386
 
        CPOUT_32(rindex, str, ri_data);
387
 
 
388
 
        CPOUT_32(rindex, str, ri_bitbytes);
389
 
 
390
 
        CPOUT_08(rindex, str, ri_reserved, 64);
 
381
        CPOUT_64(grindex, str, ri_addr);
 
382
        CPOUT_32(grindex, str, ri_length);
 
383
        CPOUT_32(grindex, str, ri_pad);
 
384
 
 
385
        CPOUT_64(grindex, str, ri_data1);
 
386
        CPOUT_32(grindex, str, ri_data);
 
387
 
 
388
        CPOUT_32(grindex, str, ri_bitbytes);
 
389
 
 
390
        CPOUT_08(grindex, str, ri_reserved, 64);
391
391
 
392
392
}
393
393