Skip to content

Commit

Permalink
[GFS2] Remove unused GL_DUMP flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Whitehouse committed Nov 30, 2006
1 parent f6e58f0 commit c594d88
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions fs/gfs2/glock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 0 additions & 1 deletion fs/gfs2/glock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c594d88

Please sign in to comment.