]> asedeno.scripts.mit.edu Git - linux.git/commit
of: overlay: expand check of whether overlay changeset can be removed
authorFrank Rowand <frank.rowand@sony.com>
Tue, 17 Oct 2017 23:36:27 +0000 (16:36 -0700)
committerRob Herring <robh@kernel.org>
Wed, 18 Oct 2017 01:47:17 +0000 (20:47 -0500)
commit87f242c119c403e8b948c8b95eca4ab6212fd1a9
treec1021c251252faf1fc9dbea35baca06d5d36780b
parent24789c5ce5a373dd55640f9cd79117fcc3ccc46d
of: overlay: expand check of whether overlay changeset can be removed

The test of whether it is safe to remove an overlay changeset
looked at whether any node in the overlay changeset was in a
subtree rooted at any more recently applied overlay changeset
node.

The test failed to determine whether any node in the overlay
changeset was the root of a subtree that contained a more
recently applied overlay changeset node.  Add this additional
check to the test.

The test is still lacking any check for any phandle dependencies.

Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/overlay.c