Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c594d886 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] Remove unused GL_DUMP flag



There is no way to set the GL_DUMP flag, and in any case the
same thing can be done with systemtap if required for debugging,
so this removes it.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent f6e58f01
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1244,9 +1244,6 @@ int gfs2_glock_nq(struct gfs2_holder *gh)

	clear_bit(GLF_PREFETCH, &gl->gl_flags);

	if (error == GLR_TRYFAILED && (gh->gh_flags & GL_DUMP))
		dump_glock(gl);

	return error;
}

+0 −1
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@
#define GL_NOCACHE		0x00000400
#define GL_NOCANCEL		0x00001000
#define GL_AOP			0x00004000
#define GL_DUMP			0x00008000

#define GLR_TRYFAILED		13
#define GLR_CANCELED		14