dm-mpath.c (385411ffba0c3305491346b98ba4d2cd8063f002) dm-mpath.c (168678d765d3659fddffe80a70668488066a9569)
1/*
2 * Copyright (C) 2003 Sistina Software Limited.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include <linux/device-mapper.h>

--- 885 unchanged lines hidden (view full) ---

894 m->hw_handler_name = *attached_handler_name;
895 *attached_handler_name = NULL;
896 }
897 }
898
899 if (m->hw_handler_name) {
900 r = scsi_dh_attach(q, m->hw_handler_name);
901 if (r == -EBUSY) {
1/*
2 * Copyright (C) 2003 Sistina Software Limited.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include <linux/device-mapper.h>

--- 885 unchanged lines hidden (view full) ---

894 m->hw_handler_name = *attached_handler_name;
895 *attached_handler_name = NULL;
896 }
897 }
898
899 if (m->hw_handler_name) {
900 r = scsi_dh_attach(q, m->hw_handler_name);
901 if (r == -EBUSY) {
902 printk(KERN_INFO "dm-mpath: retaining handler on device %pg\n",
903 bdev);
902 DMINFO("retaining handler on device %pg", bdev);
904 goto retain;
905 }
906 if (r < 0) {
907 *error = "error attaching hardware handler";
908 return r;
909 }
910
911 if (m->hw_handler_params) {

--- 1341 unchanged lines hidden ---
903 goto retain;
904 }
905 if (r < 0) {
906 *error = "error attaching hardware handler";
907 return r;
908 }
909
910 if (m->hw_handler_params) {

--- 1341 unchanged lines hidden ---