lkml.org 
[lkml]   [2000]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch-2.4.0-test5-pre3] jffs_delete_inode() cleanup
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.045 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site