Commit ae648133 authored by Peng Tao's avatar Peng Tao Committed by Greg Kroah-Hartman
Browse files

pnfsblock: acquire im_lock in _preload_range



commit 39e567ae upstream.

When calling _add_entry, we should take the im_lock to protect
agains other modifiers.

Signed-off-by: default avatarPeng Tao <peng_tao@emc.com>
Signed-off-by: default avatarBenny Halevy <bhalevy@tonian.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1f489b2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment