[PATCH] remove initialization from removed sem

From: Dave Hansen (haveblue@us.ibm.com)
Date: Fri Apr 05 2002 - 19:40:26 EST


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/



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:18 EST