Skip to contentSkip to conversation

nilfs2 fixes for 2.6.34

GIT PULL Ryusuke Konishi 1 participant 1 message Apr 12, 2010 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2.git for-linus

to grab the following fixes, only containing trivial ones.

Thanks!

Ryusuke Konishi
--
The following changes since commit 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6:
Linus Torvalds (1):

        Linux 2.6.34-rc3

Li Hong (2):
nilfs2: fix a wrong type conversion in nilfs_ioctl()
nilfs2: Remove an uninitialization warning in nilfs_btree_propagate_v()

Ryusuke Konishi (1):

      nilfs2: fix typo "numer" -> "number" in alloc.c
 fs/nilfs2/alloc.c |    2 +-
 fs/nilfs2/btree.c |    2 +-
 fs/nilfs2/ioctl.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
fs/nilfs2/alloc.c +1 -1
index 3f959f1..c2a1387 100644
@@ -425,7 +425,7 @@ void nilfs_palloc_abort_alloc_entry(struct inode *inode,
 	bitmap = bitmap_kaddr + bh_offset(req->pr_bitmap_bh);
 	if (!nilfs_clear_bit_atomic(nilfs_mdt_bgl_lock(inode, group),
 				    group_offset, bitmap))
-		printk(KERN_WARNING "%s: entry numer %llu already freed\n",
+		printk(KERN_WARNING "%s: entry number %llu already freed\n",
 		       __func__, (unsigned long long)req->pr_entry_nr);
 
 	nilfs_palloc_group_desc_add_entries(inode, group, desc, 1);
fs/nilfs2/btree.c +1 -1
index 7cdd98b..76c38e3 100644
@@ -1879,7 +1879,7 @@ static int nilfs_btree_propagate_v(struct nilfs_btree *btree,
 				   struct nilfs_btree_path *path,
 				   int level, struct buffer_head *bh)
 {
-	int maxlevel, ret;
+	int maxlevel = 0, ret;
 	struct nilfs_btree_node *parent;
 	struct inode *dat = nilfs_bmap_get_dat(&btree->bt_bmap);
 	__u64 ptr;
fs/nilfs2/ioctl.c +1 -1
index 313d0a2..c446017 100644
@@ -648,7 +648,7 @@ static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp,
 long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 {
 	struct inode *inode = filp->f_dentry->d_inode;
-	void __user *argp = (void * __user *)arg;
+	void __user *argp = (void __user *)arg;
 
 	switch (cmd) {
 	case NILFS_IOCTL_CHANGE_CPMODE: