projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6115267
)
GFS2: fs/gfs2/glock.c: Deinline do_error, save 1856 bytes
author
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 12 Apr 2016 16:39:12 +0000
(12:39 -0400)
committer
Bob Peterson
<rpeterso@redhat.com>
Tue, 12 Apr 2016 16:39:12 +0000
(12:39 -0400)
This function compiles to 522 bytes of machine code.
Error paths are not very time critical.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/glock.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/glock.c
b/fs/gfs2/glock.c
index
2897ced
..
3910cea
100644
(file)
--- a/
fs/gfs2/glock.c
+++ b/
fs/gfs2/glock.c
@@
-218,7
+218,7
@@
static void gfs2_holder_wake(struct gfs2_holder *gh)
*
*/
-static
inline
void do_error(struct gfs2_glock *gl, const int ret)
+static void do_error(struct gfs2_glock *gl, const int ret)
{
struct gfs2_holder *gh, *tmp;