Whamcloud - gitweb
LU-4863 lloop: avoid panic during blockdev_info
authorBob Glossman <bob.glossman@intel.com>
Fri, 4 Apr 2014 21:21:28 +0000 (14:21 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 May 2014 04:57:19 +0000 (00:57 -0400)
commit2131c460b6c0ba9901e6e8b920ef0a029e051d07
treecf124876ed5cbf54a0e1c9a0966dec28c58bb752
parent53008f1c9abe5b603ae3f963e7ffa6d8201c3bca
LU-4863 lloop: avoid panic during blockdev_info

Change the LL_IOC_LLOOP_INFO ioctl in the lustre lloop
device driver to return an error instead of causing
panics with LASSERT().

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: Ib50afa94960dee6fb580038d6e96ea648252d9ea
Reviewed-on: http://review.whamcloud.com/9888
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/llite/lloop.c