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: unbindsdh1 [ 149.782025] md: export_rdev(sdh1) [ 149.782039] md: unbindsdg1 [ 149.786026] md: export_rdev(sdg1) [

[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 yuxia...@marvell.com Cc: Dan Williams dan.j.willi...@intel.com Cc: James Bottomley jbottom...@parallels.com Signed-off-by: Tom Rini tr...@ti.com ---