]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drbd: move set_disk_ro() to after we persisted the new role
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 5 Feb 2014 05:28:08 +0000 (06:28 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:34:53 +0000 (18:34 +0200)
commit720979fb9048bc6b4460b39864c64d7fc920a10f
tree0a7fdc467bcb05c3e2b3727d6a7d3751509c1578
parent123ff122ade4b22961f2c244c44966d52c2a7ca5
drbd: move set_disk_ro() to after we persisted the new role

This probably does not have any real life impact,
but we should first persist any potentially new UUID
and other meta data flags, as well as our new role,
before we allow/disallow write access.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c