projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240c623
)
GFS2: Don't bother trying to add rgrps to the lru list
author
Bob Peterson
<rpeterso@redhat.com>
Wed, 26 Jul 2017 15:18:19 +0000
(10:18 -0500)
committer
Bob Peterson
<rpeterso@redhat.com>
Wed, 9 Aug 2017 14:36:38 +0000
(09:36 -0500)
This patch removes a call to gfs2_glock_add_to_lru from function
gfs2_clear_rgrpd. The call is just a waste of time because as soon
as it adds it to the lru_list, the call to gfs2_glock_put takes it
back off again.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/rgrp.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/rgrp.c
b/fs/gfs2/rgrp.c
index 836e38ba5d0af328523b5760ae8f6578256e2a4f..29fbeee36fa663ee4afc1d179edad27307333938 100644
(file)
--- a/
fs/gfs2/rgrp.c
+++ b/
fs/gfs2/rgrp.c
@@
-706,7
+706,6
@@
void gfs2_clear_rgrpd(struct gfs2_sbd *sdp)
if (gl) {
glock_set_object(gl, NULL);
- gfs2_glock_add_to_lru(gl);
gfs2_glock_put(gl);
}