remove initialization from removed sem

remove initialization from removed sem

Post by Dave Hanse » Sun, 07 Apr 2002 14:30:13



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

--- fs/inode.c.orig     Fri Apr  5 16:36:11 2002

        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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/