md: allow non-privileged uses to GET_*_INFO about raid arrays.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:26 +0000 (10:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:26 +0000 (10:17 +1100)
commit506c9e44a85f6a79fc0643f2d2498ab6cda3d3f8
tree94dd7741a688b2c57494819ca3a22d228462ff98
parent961902c0f8240175729274cd14198872f42072b7
md: allow non-privileged uses to GET_*_INFO about raid arrays.

The info is already available in /proc/mdstat and /sys/block in
an accessible form so there is no point in putting a road-block in
the ioctl for information gathering.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c