]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MD: hold mddev lock to change bitmap location
authorShaohua Li <shli@fb.com>
Sat, 30 Jul 2016 17:05:31 +0000 (10:05 -0700)
committerShaohua Li <shli@fb.com>
Sat, 6 Aug 2016 05:02:40 +0000 (22:02 -0700)
commitd9dd26b20cff88b45d861ec786d86b1c9bd2ee60
tree6aa93f54bf5329ad88c0406041b3185511c29680
parentff00d3b4e5e4395c825e8ec628f25932d812f31a
MD: hold mddev lock to change bitmap location

Changing the location changes a lot of things. Holding the lock to avoid race.
This makes the .quiesce called with mddev lock hold too.

Acked-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/bitmap.c