From c7c4310f7fc1485925d800628bf50b3aeab535ef Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 10 Jul 2000 23:18:26 +0000 Subject: Merge with Linux 2.4.0-test3-pre8. Linus has accepted most of what I've sent him, so we're very close to full integration of the MIPS port into his sources. --- fs/fat/inode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/fat/inode.c') diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 046d384de..0874d6da7 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -854,6 +854,7 @@ retry: if (inode->i_ino == MSDOS_ROOT_INO || !i_pos) { return; } + lock_kernel(); if (!(bh = fat_bread(sb, i_pos >> MSDOS_DPB_BITS))) { printk("dev = %s, ino = %d\n", kdevname(inode->i_dev), i_pos); fat_fs_panic(sb, "msdos_write_inode: unable to read i-node block"); -- cgit v1.2.3