[PATCH] remove initialization from removed sem

Dave Hansen (haveblue@us.ibm.com)
Fri, 05 Apr 2002 16:40:26 -0800


Linus,
The last patch I sent still initialized the semaphore that I removed.

--- fs/inode.c.orig Fri Apr 5 16:36:11 2002
+++ fs/inode.c Fri Apr 5 16:36:21 2002
@@ -143,7 +143,6 @@
INIT_LIST_HEAD(&inode->i_dirty_data_buffers);
INIT_LIST_HEAD(&inode->i_devices);
sema_init(&inode->i_sem, 1);
-
sema_init(&inode->i_attr_lock, 1);
spin_lock_init(&inode->i_data.i_shared_lock);
INIT_LIST_HEAD(&inode->i_data.i_mmap);
INIT_LIST_HEAD(&inode->i_data.i_mmap_shared);

-- 
Dave Hansen
haveblue@us.ibm.com

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