Re: [PATCH] inode dirty blocks

From: Mohammad A. Haque (mhaque@haque.net)
Date: Mon Dec 04 2000 - 21:49:22 EST


Cool. Anyone have have a unified patch against pre4 or should I start
digging through my mail? =)

Andrew Morton wrote:
> This is with
>
> - test12-pre4
> - aviro bforget patch
> - UnlockPage() removed from vmscan.c:623
> - and
>
> --- linux-2.4.0-test12-pre4/fs/ext2/inode.c Mon Dec 4 21:07:12 2000
> +++ linux-akpm/fs/ext2/inode.c Tue Dec 5 08:46:38 2000
> @@ -1208,7 +1208,7 @@
> raw_inode->i_block[0] = cpu_to_le32(kdev_t_to_nr(inode->i_rdev));
> else for (block = 0; block < EXT2_N_BLOCKS; block++)
> raw_inode->i_block[block] = inode->u.ext2_i.i_data[block];
> - mark_buffer_dirty_inode(bh, inode);
> + mark_buffer_dirty(bh);
> if (do_sync) {
> ll_rw_block (WRITE, 1, &bh);
> wait_on_buffer (bh);

-- 

===================================================================== Mohammad A. Haque http://www.haque.net/ mhaque@haque.net

"Alcohol and calculus don't mix. Project Lead Don't drink and derive." --Unknown http://wm.themes.org/ batmanppc@themes.org ===================================================================== - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:12 EST