From 7e32d02613a72a39ba01638337c609a9a866c653 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Tue, 15 Mar 2011 08:32:14 +0000 Subject: 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 Cc: Paul E. McKenney Reviewed-by: Paul E. McKenney --- fs/gfs2/glock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/gfs2') 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) static inline struct gfs2_glock *glock_hash_next(struct gfs2_glock *gl) { - return hlist_bl_entry(rcu_dereference_raw(gl->gl_list.next), + return hlist_bl_entry(rcu_dereference(gl->gl_list.next), struct gfs2_glock, gl_list); } -- cgit v1.2.3