Whamcloud - gitweb
LU-4863 lloop: avoid panic during blockdev_info 88/9888/2
authorBob Glossman <bob.glossman@intel.com>
Fri, 4 Apr 2014 21:21:28 +0000 (14:21 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 8 Apr 2014 13:49:41 +0000 (13:49 +0000)
commit5353deb0205d2dda6f1af5b07ee8d3963c5e9a29
tree499ec925c349a8bb138178fcb9bfb7edb7c3b2d0
parent2d6315fbeab3c815efa3ea7b953ff34e6f3fa3fc
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