From 47012560e0ee163758975f432aceb21acb260bb0 Mon Sep 17 00:00:00 2001 From: bobijam Date: Thu, 25 Jun 2009 01:23:33 +0000 Subject: [PATCH] Branch b1_8 b=18702 i=nathan.rutman i=johann Server failover cleanup needs destroy llog. --- lustre/include/linux/lustre_fsfilt.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lustre/include/linux/lustre_fsfilt.h b/lustre/include/linux/lustre_fsfilt.h index 65a9e67..01abf1e 100644 --- a/lustre/include/linux/lustre_fsfilt.h +++ b/lustre/include/linux/lustre_fsfilt.h @@ -211,9 +211,6 @@ static inline void *fsfilt_start_log(struct obd_device *obd, void *parent_handle = oti ? oti->oti_handle : NULL; void *handle; - if (obd->obd_fail) - return ERR_PTR(-EROFS); - handle = obd->obd_fsops->fs_start(inode, op, parent_handle, logs); CDEBUG(D_INFO, "started handle %p (%p)\n", handle, parent_handle); @@ -245,9 +242,6 @@ static inline void *fsfilt_brw_start_log(struct obd_device *obd, int objcount, void *parent_handle = oti ? oti->oti_handle : NULL; void *handle; - if (obd->obd_fail) - return ERR_PTR(-EROFS); - handle = obd->obd_fsops->fs_brw_start(objcount, fso, niocount, nb, parent_handle, logs); CDEBUG(D_INFO, "started handle %p (%p)\n", handle, parent_handle); -- 1.8.3.1