diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-10-29 10:58:09 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2015-10-29 12:57:48 -0500 |
commit | f3dd1649122b9e73f869e5304d5fa8554e128b7a (patch) | |
tree | d6e75c45ea5250f7dc483c51b08cd1b78f40fa1d /fs/gfs2/incore.h | |
parent | 491e94f790982bec5a1334dd3db2708de3724bdf (diff) | |
download | linux-stable-f3dd1649122b9e73f869e5304d5fa8554e128b7a.tar.gz linux-stable-f3dd1649122b9e73f869e5304d5fa8554e128b7a.tar.bz2 linux-stable-f3dd1649122b9e73f869e5304d5fa8554e128b7a.zip |
gfs2: Remove gl_spin define
Commit e66cf161 replaced the gl_spin spinlock in struct gfs2_glock with a
gl_lockref lockref and defined gl_spin as gl_lockref.lock (the spinlock in
gl_lockref). Remove that define to make the references to gl_lockref.lock more
obvious.
Signed-off-by: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 121ed08d9d9f..de7b4f97ac75 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -334,9 +334,8 @@ struct gfs2_glock { struct lm_lockname gl_name; struct lockref gl_lockref; -#define gl_spin gl_lockref.lock - /* State fields protected by gl_spin */ + /* State fields protected by gl_lockref.lock */ unsigned int gl_state:2, /* Current state */ gl_target:2, /* Target state */ gl_demote_state:2, /* State requested by remote node */ |