Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/mason/linux-btrfs

Pull btrfs compile warning fixes from Chris Mason.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
  Btrfs: cast devid to unsigned long long for printk %llu
  Btrfs: init old_generation in get_old_root
  • Loading branch information
torvalds committed Jun 17, 2012
2 parents c458175 + a8c4a33 commit d865983
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/btrfs/ctree.c
Expand Up @@ -1175,7 +1175,7 @@ get_old_root(struct btrfs_root *root, u64 time_seq)
struct tree_mod_elem *tm; struct tree_mod_elem *tm;
struct extent_buffer *eb; struct extent_buffer *eb;
struct tree_mod_root *old_root = NULL; struct tree_mod_root *old_root = NULL;
u64 old_generation; u64 old_generation = 0;
u64 logical; u64 logical;


eb = btrfs_read_lock_root_node(root); eb = btrfs_read_lock_root_node(root);
Expand Down
3 changes: 2 additions & 1 deletion fs/btrfs/ioctl.c
Expand Up @@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
} }
if (device->fs_devices && device->fs_devices->seeding) { if (device->fs_devices && device->fs_devices->seeding) {
printk(KERN_INFO "btrfs: resizer unable to apply on " printk(KERN_INFO "btrfs: resizer unable to apply on "
"seeding device %llu\n", devid); "seeding device %llu\n",
(unsigned long long)devid);
ret = -EINVAL; ret = -EINVAL;
goto out_free; goto out_free;
} }
Expand Down

0 comments on commit d865983

Please sign in to comment.