From 0a9cfcc72d656ec342716451eb9251cd0d4e3ed2 Mon Sep 17 00:00:00 2001 From: shaver Date: Wed, 21 May 2003 13:43:59 +0000 Subject: [PATCH] b=1301: don't perform our mdc_getstatus in ll_put_super if we're forcing the unmount. b=1272: umount -f should only skip the disconnect RPCs if in recovery, to reduce the unfriendliness of gratuitous forces. --- lnet/include/linux/kp30.h | 2 +- lustre/portals/include/linux/kp30.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lnet/include/linux/kp30.h b/lnet/include/linux/kp30.h index 4915fe3..46d9406 100644 --- a/lnet/include/linux/kp30.h +++ b/lnet/include/linux/kp30.h @@ -80,7 +80,7 @@ extern unsigned int portal_printk; #define D_RPCTRACE (1 << 20) /* for distributed debugging */ #define D_VFSTRACE (1 << 21) -#ifndef THREAD_SIZE +#ifndef __KERNEL__ #define THREAD_SIZE 8192 #endif #ifdef __arch_ia64__ diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 4915fe3..46d9406 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -80,7 +80,7 @@ extern unsigned int portal_printk; #define D_RPCTRACE (1 << 20) /* for distributed debugging */ #define D_VFSTRACE (1 << 21) -#ifndef THREAD_SIZE +#ifndef __KERNEL__ #define THREAD_SIZE 8192 #endif #ifdef __arch_ia64__ -- 1.8.3.1