[patch-2.4.0-test5-pre3] jffs_delete_inode() cleanup

From: Tigran Aivazian (tigran@veritas.com)
Date: Thu Jul 20 2000 - 07:09:43 EST


Hi David,

I don't think jffs_delete_inode() needs a big kernel lock.

Regards,
Tigran

--- linux/fs/jffs/inode-v23.c Fri Jul 14 20:52:15 2000
+++ work/fs/jffs/inode-v23.c Thu Jul 20 13:05:14 2000
@@ -1527,14 +1527,8 @@
 {
 
         D3(printk("jffs_delete_inode(): inode->i_ino == %lu\n", inode->i_ino));
-
- lock_kernel();
-
         inode->i_size = 0;
-
         clear_inode(inode);
-
- unlock_kernel();
 }
 
 void

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:13 EST