vserver 1.9.3
[linux-2.6.git] / fs / xfs / linux-2.6 / xfs_vfs.c
index 897b9dc..855e914 100644 (file)
@@ -249,6 +249,8 @@ vfs_allocate( void )
 
        vfsp = kmem_zalloc(sizeof(vfs_t), KM_SLEEP);
        bhv_head_init(VFS_BHVHEAD(vfsp), "vfs");
+       INIT_LIST_HEAD(&vfsp->vfs_sync_list);
+       vfsp->vfs_sync_lock = SPIN_LOCK_UNLOCKED;
        init_waitqueue_head(&vfsp->vfs_wait_sync_task);
        init_waitqueue_head(&vfsp->vfs_wait_single_sync_task);
        return vfsp;