aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index b2699bb2e530..2c38752ca8d6 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1827,6 +1827,7 @@ static inline void __drbd_chk_io_error_(struct drbd_conf *mdev, int forcedetach,
1827 if (!forcedetach) { 1827 if (!forcedetach) {
1828 if (__ratelimit(&drbd_ratelimit_state)) 1828 if (__ratelimit(&drbd_ratelimit_state))
1829 dev_err(DEV, "Local IO failed in %s.\n", where); 1829 dev_err(DEV, "Local IO failed in %s.\n", where);
1830 _drbd_set_state(_NS(mdev, disk, D_INCONSISTENT), CS_HARD, NULL);
1830 break; 1831 break;
1831 } 1832 }
1832 /* NOTE fall through to detach case if forcedetach set */ 1833 /* NOTE fall through to detach case if forcedetach set */