ANDROID: dm: android-verity: mark dev as rw for linear target
authorBadhri Jagan Sridharan <Badhri@google.com>
Fri, 3 Jun 2016 20:16:59 +0000 (13:16 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commitc35065fc747b536884e900185547c15543efc0a3
treed48ed6fad4bce5d79f1d23ebcf625f3facf63def
parentf782e47f2cfefb71b4e65d7675c8eeacb5dc9498
ANDROID: dm: android-verity: mark dev as rw for linear target

Mark as rw when adding as linear target to allow changes
to the underlying filesystem through adb disable verity
and adb remount.

(Cherry-picked from
https://partner-android-review.googlesource.com/#/c/613573/
79a3032bb62da65a5d724eb70c8bdc662945d475)

BUG: 28845874
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Change-Id: If41e9cad8e0f054f4778c09a6e2f0cb8af6fddaf
drivers/md/dm-android-verity.c