git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
xfs
/
linux-2.6
/
xfs_vfs.c
diff --git
a/fs/xfs/linux-2.6/xfs_vfs.c
b/fs/xfs/linux-2.6/xfs_vfs.c
index
855e914
..
cce462d
100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_vfs.c
+++ b/
fs/xfs/linux-2.6/xfs_vfs.c
@@
-250,7
+250,7
@@
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 = 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
;
+
spin_lock_init(&vfsp->vfs_sync_lock)
;
init_waitqueue_head(&vfsp->vfs_wait_sync_task);
init_waitqueue_head(&vfsp->vfs_wait_single_sync_task);
return vfsp;
init_waitqueue_head(&vfsp->vfs_wait_sync_task);
init_waitqueue_head(&vfsp->vfs_wait_single_sync_task);
return vfsp;