[GFS2] Remove unused GL_DUMP flag
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 8 Nov 2006 14:01:13 +0000 (09:01 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:34:40 +0000 (10:34 -0500)
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>
fs/gfs2/glock.c
fs/gfs2/glock.h

index 44633c46717a7f3ff9ec62b88da4fdff4d9149ba..746347a404c4be38816da148839faf70de5e09bc 100644 (file)
@@ -1244,9 +1244,6 @@ restart:
 
        clear_bit(GLF_PREFETCH, &gl->gl_flags);
 
-       if (error == GLR_TRYFAILED && (gh->gh_flags & GL_DUMP))
-               dump_glock(gl);
-
        return error;
 }
 
index 2b2a889ee2cc9b516bbf8b9d1ac93a5421172c4c..b9856274df5934a75784b57f026a66f6769f2857 100644 (file)
@@ -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