md: don't call md_allow_write in get_bitmap_file.
authorNeilBrown <neilb@suse.de>
Tue, 16 Jul 2013 06:44:29 +0000 (16:44 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 27 Aug 2013 06:05:32 +0000 (16:05 +1000)
commit60559da4d8c3259ea41a14ca4cfcd83022bff6bd
tree4eb200925cc4067a59d0709bde0cf8b19d22e266
parentd8dfad3876e4386666b759da3c833d62fb8b2267
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: NeilBrown <neilb@suse.de>
drivers/md/md.c