* [PATCH] remove initialization from removed sem
@ 2002-04-06 0:40 Dave Hansen
0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2002-04-06 0:40 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-06 0:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-06 0:40 [PATCH] remove initialization from removed sem Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox