WARNING: at fs/sysfs/inode.c:324 sysfs_hash_and_remove+0xa9/0xb0()

2012-10-20 Thread Richard Weinberger
Hi! I can reliably trigger the following warning by physically detaching my disk array after stopping md1. ---cut--- [ 149.780554] md: md1 stopped. [ 149.780559] md: unbind [ 149.782025] md: export_rdev(sdh1) [ 149.782039] md: unbind [ 149.786026] md: export_rdev(sdg1) [ 149.786038] md: u

[PATCH] [SCSI] mvsas: Fix warning in mvs_update_phyinfo

2012-10-20 Thread Tom Rini
In mvs_update_phyinfo we were comparing phy->identify.device_type against enum sas_dev_type instead of enum sas_device_type Cc: Xiangliang Yu Cc: Dan Williams Cc: James Bottomley Signed-off-by: Tom Rini --- drivers/scsi/mvsas/mv_sas.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(