From 49cb69a8b3cd5f4bbfc38c8027e582fb1d1b5fe2 Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 24 Mar 2004 05:40:47 +0000 Subject: [PATCH] Don't copy lvb into reply message on error, since that message might not have allocated enough space for the lvb and the client will ignore it anyways. Also fixes a NULL request deref in mds_mfd_close() when cleaning up opens on the MDS. The initial sanity test (66b) triggered a new bug 2986, but another test with multiop tests this properly. b=2983 --- lustre/include/linux/obd_support.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/include/linux/obd_support.h b/lustre/include/linux/obd_support.h index a186aa3..9d7957e 100644 --- a/lustre/include/linux/obd_support.h +++ b/lustre/include/linux/obd_support.h @@ -113,6 +113,8 @@ extern wait_queue_head_t obd_race_waitq; #define OBD_FAIL_LDLM_BL_CALLBACK 0x305 #define OBD_FAIL_LDLM_CP_CALLBACK 0x306 #define OBD_FAIL_LDLM_GL_CALLBACK 0x307 +#define OBD_FAIL_LDLM_ENQUEUE_EXTENT_ERR 0x308 +#define OBD_FAIL_LDLM_ENQUEUE_INTENT_ERR 0x309 #define OBD_FAIL_OSC 0x400 #define OBD_FAIL_OSC_BRW_READ_BULK 0x401 -- 1.8.3.1