Re: [PATCH] ext4: fix uniniatilized extend splitting error.

2008-01-11 Thread Amit K. Arora
On Thu, Jan 10, 2008 at 02:31:03PM -0700, Andreas Dilger wrote: > On Jan 10, 2008 17:31 +0300, Dmitry Monakhov wrote: > > While playing with new fancy fallocate interface on ext4 i've triggered > > bug which corrupted my grub :). > > I notice I'm CC'd on this, but in fact Amit wrote the code. I'v

Re: [PATCH] ext4: fix uniniatilized extend splitting error.

2008-01-10 Thread Mingming Cao
On Thu, 2008-01-10 at 14:31 -0700, Andreas Dilger wrote: > On Jan 10, 2008 17:31 +0300, Dmitry Monakhov wrote: > > While playing with new fancy fallocate interface on ext4 i've triggered > > bug which corrupted my grub :). > > I notice I'm CC'd on this, but in fact Amit wrote the code. I've CC'd

Re: [PATCH] ext4: fix uniniatilized extend splitting error.

2008-01-10 Thread Mingming Cao
Thanks for catching this, I added your fix to the ext4 patch queue http://repo.or.cz/w/ext4-patch-queue.git On Thu, 2008-01-10 at 17:31 +0300, Dmitry Monakhov wrote: > Hi, > While playing with new fancy fallocate interface on ext4 i've triggered > bug which corrupted my grub :). > > My testcase:

Re: [PATCH] ext4: fix uniniatilized extend splitting error.

2008-01-10 Thread Andreas Dilger
On Jan 10, 2008 17:31 +0300, Dmitry Monakhov wrote: > While playing with new fancy fallocate interface on ext4 i've triggered > bug which corrupted my grub :). I notice I'm CC'd on this, but in fact Amit wrote the code. I've CC'd him even though I expect he will notice it anyways. > My testcase

[PATCH] ext4: fix uniniatilized extend splitting error.

2008-01-10 Thread Dmitry Monakhov
Hi, While playing with new fancy fallocate interface on ext4 i've triggered bug which corrupted my grub :). My testcase: blksize = 0x1000; fd = open(argv[1], O_RDWR|O_CREAT, 0700); unsigned long long sz = 0x1000UL; /* allocating big blocks chunk */ syscall(__NR_fallocate, fd, 0, 0