aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/bitmap.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index dd84e15fcaea..f197db2ef92d 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -363,22 +363,22 @@ void bitmap_print_sb(struct bitmap *bitmap)
363 return; 363 return;
364 sb = (bitmap_super_t *)kmap(bitmap->sb_page); 364 sb = (bitmap_super_t *)kmap(bitmap->sb_page);
365 printk(KERN_DEBUG "%s: bitmap file superblock:\n", bmname(bitmap)); 365 printk(KERN_DEBUG "%s: bitmap file superblock:\n", bmname(bitmap));
366 printk(KERN_DEBUG " magic: %08x\n", le32_to_cpu(sb->magic)); 366 printk(KERN_DEBUG " magic: %08x\n", le32_to_cpu(sb->magic));
367 printk(KERN_DEBUG " version: %d\n", le32_to_cpu(sb->version)); 367 printk(KERN_DEBUG " version: %d\n", le32_to_cpu(sb->version));
368 printk(KERN_DEBUG " uuid: %08x.%08x.%08x.%08x\n", 368 printk(KERN_DEBUG " uuid: %08x.%08x.%08x.%08x\n",
369 *(__u32 *)(sb->uuid+0), 369 *(__u32 *)(sb->uuid+0),
370 *(__u32 *)(sb->uuid+4), 370 *(__u32 *)(sb->uuid+4),
371 *(__u32 *)(sb->uuid+8), 371 *(__u32 *)(sb->uuid+8),
372 *(__u32 *)(sb->uuid+12)); 372 *(__u32 *)(sb->uuid+12));
373 printk(KERN_DEBUG " events: %llu\n", 373 printk(KERN_DEBUG " events: %llu\n",
374 (unsigned long long) le64_to_cpu(sb->events)); 374 (unsigned long long) le64_to_cpu(sb->events));
375 printk(KERN_DEBUG "events_clred: %llu\n", 375 printk(KERN_DEBUG "events cleared: %llu\n",
376 (unsigned long long) le64_to_cpu(sb->events_cleared)); 376 (unsigned long long) le64_to_cpu(sb->events_cleared));
377 printk(KERN_DEBUG " state: %08x\n", le32_to_cpu(sb->state)); 377 printk(KERN_DEBUG " state: %08x\n", le32_to_cpu(sb->state));
378 printk(KERN_DEBUG " chunksize: %d B\n", le32_to_cpu(sb->chunksize)); 378 printk(KERN_DEBUG " chunksize: %d B\n", le32_to_cpu(sb->chunksize));
379 printk(KERN_DEBUG "daemon sleep: %ds\n", le32_to_cpu(sb->daemon_sleep)); 379 printk(KERN_DEBUG " daemon sleep: %ds\n", le32_to_cpu(sb->daemon_sleep));
380 printk(KERN_DEBUG " sync size: %llu KB\n", 380 printk(KERN_DEBUG " sync size: %llu KB\n",
381 (unsigned long long)le64_to_cpu(sb->sync_size)); 381 (unsigned long long)le64_to_cpu(sb->sync_size)/2);
382 kunmap(bitmap->sb_page); 382 kunmap(bitmap->sb_page);
383} 383}
384 384