Re: Oops with ext4 from 2.6.27-rc3

Aneesh Kumar K.V
2008-08-14T17:56:48Z

On Thu, Aug 14, 2008 at 07:58:23AM -0700, Mingming Cao wrote:
>
>
> Index: linux-2.6.27-rc3/fs/ext4/inode.c
> ===================================================================
> --- linux-2.6.27-rc3.orig/fs/ext4/inode.c 2008-08-14 07:49:14.000000000 -0700
> +++ linux-2.6.27-rc3/fs/ext4/inode.c 2008-08-14 07:49:45.000000000 -0700
> @@ -1576,7 +1576,7 @@ static void ext4_da_release_space(struct
> */
> printk(KERN_INFO "ext4 delalloc try to release %d reserved"
> "blocks for inode %lu, but there is no reserved"
> - "data blocks\n", inode->i_ino, to_free);
> + "data blocks\n", to_free, inode->i_ino);
> spin_unlock(&EXT4_I(inode)->i_block_reservation_lock);
> return;
> }

I guess you would need a space at the end of each lines.

printk(KERN_INFO "ext4 delalloc try to release %d reserved "
"blocks for inode %lu, but there is no reserved "
"data blocks\n", to_free, inode->i_ino);
-aneesh