diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-03-15 04:32:14 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-03-15 04:58:17 -0400 |
commit | 7e32d02613a72a39ba01638337c609a9a866c653 (patch) | |
tree | b45f3c19b4054d1790b6f5b81b8b416cde41992e /fs/gfs2 | |
parent | 6c474f7bc1ef70bc05ce486e7e7e524124122de8 (diff) |
GFS2: Don't use _raw version of RCU dereference
As per RCU glock patch review comments, don't use the _raw
version of this function here.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/glock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 8648409be451..85044b418249 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c | |||
@@ -1723,7 +1723,7 @@ static inline struct gfs2_glock *glock_hash_chain(unsigned hash) | |||
1723 | 1723 | ||
1724 | static inline struct gfs2_glock *glock_hash_next(struct gfs2_glock *gl) | 1724 | static inline struct gfs2_glock *glock_hash_next(struct gfs2_glock *gl) |
1725 | { | 1725 | { |
1726 | return hlist_bl_entry(rcu_dereference_raw(gl->gl_list.next), | 1726 | return hlist_bl_entry(rcu_dereference(gl->gl_list.next), |
1727 | struct gfs2_glock, gl_list); | 1727 | struct gfs2_glock, gl_list); |
1728 | } | 1728 | } |
1729 | 1729 | ||