Skip to content

Commit

Permalink
GFS2: Remove duplicate #defines from glock.h
Browse files Browse the repository at this point in the history
There are a number of duplicated #defines in glock.h
plus one which is unused. This removes the extra
definitions.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
  • Loading branch information
swhiteho committed Nov 30, 2010
1 parent 921169c commit 0b1246e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions fs/gfs2/glock.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ enum {
#define GL_ASYNC 0x00000040
#define GL_EXACT 0x00000080
#define GL_SKIP 0x00000100
#define GL_ATIME 0x00000200
#define GL_NOCACHE 0x00000400

/*
Expand Down Expand Up @@ -126,19 +125,6 @@ struct lm_lockops {
const match_table_t *lm_tokens;
};

#define LM_FLAG_TRY 0x00000001
#define LM_FLAG_TRY_1CB 0x00000002
#define LM_FLAG_NOEXP 0x00000004
#define LM_FLAG_ANY 0x00000008
#define LM_FLAG_PRIORITY 0x00000010

#define GL_ASYNC 0x00000040
#define GL_EXACT 0x00000080
#define GL_SKIP 0x00000100
#define GL_NOCACHE 0x00000400

#define GLR_TRYFAILED 13

extern struct workqueue_struct *gfs2_delete_workqueue;
static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl)
{
Expand Down

0 comments on commit 0b1246e

Please sign in to comment.