Merge remote-tracking branches 'regulator/topic/load', 'regulator/topic/max77802...
[cascardo/linux.git] / drivers / block / xen-blkfront.c
index 6111708..a69c02d 100644 (file)
@@ -1956,7 +1956,8 @@ static void blkback_changed(struct xenbus_device *dev,
                        break;
                /* Missed the backend's Closing state -- fallthrough */
        case XenbusStateClosing:
-               blkfront_closing(info);
+               if (info)
+                       blkfront_closing(info);
                break;
        }
 }