提交 a527b38e 编写于 作者: D Denys Vlasenko 提交者: Bob Peterson

GFS2: fs/gfs2/glock.c: Deinline do_error, save 1856 bytes

This function compiles to 522 bytes of machine code.

Error paths are not very time critical.
Signed-off-by: NDenys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: NBob Peterson <rpeterso@redhat.com>
上级 61152675
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册