mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[GFS2] Fix bug in clear_inode
We should have been waiting for lock demotion to finish in clear_inode. Signed-off-by: Steven Whitehouse <[email protected]>
This commit is contained in:
parent
2b98a54f79
commit
5dd9feafb3
1 changed files with 1 additions and 0 deletions
|
|
@ -771,6 +771,7 @@ void gfs2_glock_inode_squish(struct inode *inode)
|
|||
list_add_tail(&gh.gh_list, &gl->gl_waiters2);
|
||||
run_queue(gl);
|
||||
spin_unlock(&gl->gl_spin);
|
||||
wait_for_completion(&gh.gh_wait);
|
||||
gfs2_holder_uninit(&gh);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue