commit | f38e5fb95a1f8feda88531eedc98f69b24748712 | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Wed Feb 22 12:05:03 2017 -0500 |
committer | Bob Peterson <rpeterso@redhat.com> | Thu Feb 23 10:06:00 2017 -0500 |
tree | 941eb63a04a4ce71733273d1db846d501bfccf22 | |
parent | c548a1c175608e268f6495f3f82461303584d1c9 [diff] |
gfs2: Add missing rcu locking for glock lookup We must hold the rcu read lock across looking up glocks and trying to bump their refcount to prevent the glocks from being freed in between. Cc: <stable@vger.kernel.org> # 4.3+ Signed-off-by: Andrew Price <anprice@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>