diff options
author | Joe Thornber <ejt@redhat.com> | 2014-11-24 15:08:57 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-12-01 17:30:07 +0100 |
commit | 8001e87d0ee98787c46f14f5f4f97aced70f119f (patch) | |
tree | ff70d07dbafed0b3da8310eb9aff894ef8d4ed18 /drivers/nfc | |
parent | dm: use rcu_dereference_protected instead of rcu_dereference (diff) | |
download | linux-8001e87d0ee98787c46f14f5f4f97aced70f119f.tar.xz linux-8001e87d0ee98787c46f14f5f4f97aced70f119f.zip |
dm array: if resizing the array is a noop set the new root to the old one
This could've been quite bad (to return success but not update the new
root to point at the old) but in practice the only known consumer of the
dm array code is the DM cache target. And the DM cache target passes in
the same old root to array_resize() anyway.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions