mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
[GFS2] Fix memory allocation in glock.c
Change from GFP_KERNEL to GFP_NOFS as this was causing a slow down when trying to push inodes from cache. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
b98c95af01
commit
ab923031ce
1 changed files with 1 additions and 1 deletions
|
|
@ -769,7 +769,7 @@ restart:
|
|||
} else {
|
||||
spin_unlock(&gl->gl_spin);
|
||||
|
||||
new_gh = gfs2_holder_get(gl, state, LM_FLAG_TRY, GFP_KERNEL);
|
||||
new_gh = gfs2_holder_get(gl, state, LM_FLAG_TRY, GFP_NOFS);
|
||||
if (!new_gh)
|
||||
return;
|
||||
set_bit(HIF_DEMOTE, &new_gh->gh_iflags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue