Skip to content
Commit 60559da4 authored by NeilBrown's avatar NeilBrown
Browse files

md: don't call md_allow_write in get_bitmap_file.



There is no really need as GFP_NOIO is very likely sufficient,
and failure is not catastrophic.

Calling md_allow_write here will convert a read-auto array to
read/write which could be confusing when you are just performing
a read operation.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent d8dfad38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment