diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/glock.c | 3 | ||||
-rw-r--r-- | fs/gfs2/glock.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 44633c46717a..746347a404c4 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -1244,9 +1244,6 @@ restart: | |||
1244 | 1244 | ||
1245 | clear_bit(GLF_PREFETCH, &gl->gl_flags); | 1245 | clear_bit(GLF_PREFETCH, &gl->gl_flags); |
1246 | 1246 | ||
1247 | if (error == GLR_TRYFAILED && (gh->gh_flags & GL_DUMP)) | ||
1248 | dump_glock(gl); | ||
1249 | |||
1250 | return error; | 1247 | return error; |
1251 | } | 1248 | } |
1252 | 1249 | ||
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h index 2b2a889ee2cc..b9856274df59 100644 --- a/fs/gfs2/glock.h +++ b/fs/gfs2/glock.h | |||
@@ -28,7 +28,6 @@ | |||
28 | #define GL_NOCACHE 0x00000400 | 28 | #define GL_NOCACHE 0x00000400 |
29 | #define GL_NOCANCEL 0x00001000 | 29 | #define GL_NOCANCEL 0x00001000 |
30 | #define GL_AOP 0x00004000 | 30 | #define GL_AOP 0x00004000 |
31 | #define GL_DUMP 0x00008000 | ||
32 | 31 | ||
33 | #define GLR_TRYFAILED 13 | 32 | #define GLR_TRYFAILED 13 |
34 | #define GLR_CANCELED 14 | 33 | #define GLR_CANCELED 14 |