aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-08 09:01:13 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:40 -0500
commitc594d8866460a2710c436839d79f334a0714a2a7 (patch)
tree87445c86a4162fdb7589ddec313ab42dc0d5ab18 /fs/gfs2
parentf6e58f01e8dc869803b9f73b2aa9d5bc3f32ca05 (diff)
[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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/glock.c3
-rw-r--r--fs/gfs2/glock.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 44633c46717..746347a404c 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -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;
}
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h
index 2b2a889ee2c..b9856274df5 100644
--- a/fs/gfs2/glock.h
+++ b/fs/gfs2/glock.h
@@ -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