Skip to content

Commit

Permalink
GFS2: fs/gfs2/glock.c: Deinline do_error, save 1856 bytes
Browse files Browse the repository at this point in the history
This function compiles to 522 bytes of machine code.

Error paths are not very time critical.

Signed-off-by: Denys Vlasenko <[email protected]>
Signed-off-by: Bob Peterson <[email protected]>
  • Loading branch information
dvlasenk authored and AstralBob committed Apr 12, 2016
1 parent 6115267 commit a527b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/gfs2/glock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a527b38

Please sign in to comment.