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-14024 ofd: Avoid use after free in ofd_inconsistency_verification_main
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_io.c
diff --git
a/lustre/ofd/ofd_io.c
b/lustre/ofd/ofd_io.c
index
dc5230a
..
fef5135
100644
(file)
--- a/
lustre/ofd/ofd_io.c
+++ b/
lustre/ofd/ofd_io.c
@@
-232,8
+232,8
@@
out_unlocked:
spin_lock(&ofd->ofd_inconsistency_lock);
out:
thread_set_flags(thread, SVC_STOPPED);
- wake_up_all(&thread->t_ctl_waitq);
spin_unlock(&ofd->ofd_inconsistency_lock);
+ wake_up_all(&thread->t_ctl_waitq);
lu_env_fini(&env);
return rc;