Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-12719 obdclass: serialize lwp list access
[fs/lustre-release.git]
/
lustre
/
obdclass
/
obd_mount.c
diff --git
a/lustre/obdclass/obd_mount.c
b/lustre/obdclass/obd_mount.c
index
85da147
..
9da690b
100644
(file)
--- a/
lustre/obdclass/obd_mount.c
+++ b/
lustre/obdclass/obd_mount.c
@@
-611,7
+611,7
@@
static struct lustre_sb_info *lustre_init_lsi(struct super_block *sb)
/* Default umount style */
lsi->lsi_flags = LSI_UMOUNT_FAILOVER;
INIT_LIST_HEAD(&lsi->lsi_lwp_list);
-
spin_lock_init(&lsi->lsi_lwp_lock
);
+
mutex_init(&lsi->lsi_lwp_mutex
);
RETURN(lsi);
}