diff options
author | 2009-06-16 16:00:33 -0700 | |
---|---|---|
committer | 2009-06-18 08:50:18 +1000 | |
commit | 7a3ab908948b6296ee7e81d42f7c176361c51975 (patch) | |
tree | 61a066da1bda9af8268bb865e609518be8efd024 /security/capability.c | |
parent | md/linear: use call_rcu to free obsolete 'conf' structures. (diff) | |
download | wireguard-linux-7a3ab908948b6296ee7e81d42f7c176361c51975.tar.xz wireguard-linux-7a3ab908948b6296ee7e81d42f7c176361c51975.zip |
md/raid5: add missing call to schedule() after prepare_to_wait()
In the unlikely event that reshape progresses past the current request
while it is waiting for a stripe we need to schedule() before retrying
for 2 reasons:
1/ Prevent list corruption from duplicated list_add() calls without
intervening list_del().
2/ Give the reshape code a chance to make some progress to resolve the
conflict.
Cc: <stable@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'security/capability.c')
0 files changed, 0 insertions, 0 deletions