diff options
Diffstat (limited to 'fs/gfs2/glock.h')
-rw-r--r-- | fs/gfs2/glock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h index 07a8d02a234d..1a90a1983beb 100644 --- a/fs/gfs2/glock.h +++ b/fs/gfs2/glock.h | |||
@@ -51,17 +51,17 @@ static inline int gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) | |||
51 | 51 | ||
52 | static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) | 52 | static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) |
53 | { | 53 | { |
54 | return (gl->gl_state == LM_ST_EXCLUSIVE); | 54 | return gl->gl_state == LM_ST_EXCLUSIVE; |
55 | } | 55 | } |
56 | 56 | ||
57 | static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) | 57 | static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) |
58 | { | 58 | { |
59 | return (gl->gl_state == LM_ST_DEFERRED); | 59 | return gl->gl_state == LM_ST_DEFERRED; |
60 | } | 60 | } |
61 | 61 | ||
62 | static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) | 62 | static inline int gfs2_glock_is_held_shrd(struct gfs2_glock *gl) |
63 | { | 63 | { |
64 | return (gl->gl_state == LM_ST_SHARED); | 64 | return gl->gl_state == LM_ST_SHARED; |
65 | } | 65 | } |
66 | 66 | ||
67 | static inline int gfs2_glock_is_blocking(struct gfs2_glock *gl) | 67 | static inline int gfs2_glock_is_blocking(struct gfs2_glock *gl) |