diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-29 05:00:19 +0400 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-29 05:00:19 +0400 | 
| commit | 67d2433ee7aa631bc3ab14c2af6bbc1d44d13a00 (patch) | |
| tree | eb29e1489f9f4a99308e08568328de73fb89fc2e /fs/btrfs/check-integrity.c | |
| parent | 1c36ab1a318ab5b3b502e7e4fff3628d1a97861f (diff) | |
| parent | 9998eb703490589c3e8f1bf09b15203156776edb (diff) | |
| download | linux-67d2433ee7aa631bc3ab14c2af6bbc1d44d13a00.tar.xz | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
  Btrfs: fix reservations in btrfs_page_mkwrite
  Btrfs: advance window_start if we're using a bitmap
  btrfs: mask out gfp flags in releasepage
  Btrfs: fix enospc error caused by wrong checks of the chunk
  Btrfs: do not defrag a file partially
  Btrfs: fix warning for 32-bit build of fs/btrfs/check-integrity.c
  Btrfs: use cluster->window_start when allocating from a cluster bitmap
  Btrfs: Check for NULL page in extent_range_uptodate
  btrfs: Fix busyloops in transaction waiting code
  Btrfs: make sure a bitmap has enough bytes
  Btrfs: fix uninit warning in backref.c
Diffstat (limited to 'fs/btrfs/check-integrity.c')
| -rw-r--r-- | fs/btrfs/check-integrity.c | 11 | 
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c index ad0b3ba735b7..b669a7d8e499 100644 --- a/fs/btrfs/check-integrity.c +++ b/fs/btrfs/check-integrity.c @@ -1662,7 +1662,7 @@ static void btrfsic_process_written_block(struct btrfsic_dev_state *dev_state,  	block = btrfsic_block_hashtable_lookup(bdev, dev_bytenr,  					       &state->block_hashtable);  	if (NULL != block) { -		u64 bytenr; +		u64 bytenr = 0;  		struct list_head *elem_ref_to;  		struct list_head *tmp_ref_to; @@ -2777,9 +2777,10 @@ int btrfsic_submit_bh(int rw, struct buffer_head *bh)  			printk(KERN_INFO  			       "submit_bh(rw=0x%x, blocknr=%lu (bytenr %llu),"  			       " size=%lu, data=%p, bdev=%p)\n", -			       rw, bh->b_blocknr, -			       (unsigned long long)dev_bytenr, bh->b_size, -			       bh->b_data, bh->b_bdev); +			       rw, (unsigned long)bh->b_blocknr, +			       (unsigned long long)dev_bytenr, +			       (unsigned long)bh->b_size, bh->b_data, +			       bh->b_bdev);  		btrfsic_process_written_block(dev_state, dev_bytenr,  					      bh->b_data, bh->b_size, NULL,  					      NULL, bh, rw); @@ -2844,7 +2845,7 @@ void btrfsic_submit_bio(int rw, struct bio *bio)  			printk(KERN_INFO  			       "submit_bio(rw=0x%x, bi_vcnt=%u,"  			       " bi_sector=%lu (bytenr %llu), bi_bdev=%p)\n", -			       rw, bio->bi_vcnt, bio->bi_sector, +			       rw, bio->bi_vcnt, (unsigned long)bio->bi_sector,  			       (unsigned long long)dev_bytenr,  			       bio->bi_bdev);  | 
