[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: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
f6e58f01e8
commit
c594d88664
|
@ -1244,9 +1244,6 @@ restart:
|
||||||
|
|
||||||
clear_bit(GLF_PREFETCH, &gl->gl_flags);
|
clear_bit(GLF_PREFETCH, &gl->gl_flags);
|
||||||
|
|
||||||
if (error == GLR_TRYFAILED && (gh->gh_flags & GL_DUMP))
|
|
||||||
dump_glock(gl);
|
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#define GL_NOCACHE 0x00000400
|
#define GL_NOCACHE 0x00000400
|
||||||
#define GL_NOCANCEL 0x00001000
|
#define GL_NOCANCEL 0x00001000
|
||||||
#define GL_AOP 0x00004000
|
#define GL_AOP 0x00004000
|
||||||
#define GL_DUMP 0x00008000
|
|
||||||
|
|
||||||
#define GLR_TRYFAILED 13
|
#define GLR_TRYFAILED 13
|
||||||
#define GLR_CANCELED 14
|
#define GLR_CANCELED 14
|
||||||
|
|
Loading…
Reference in a new issue