From 73bb2e9aed86c10b3404657e558f426ea8a4c113 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 16 Jun 2009 09:00:19 +0000 Subject: [PATCH] Branch b1_8 b=19868 i=johann, shadow Move up the THREAD_SIZE to comply the Werror. --- lustre/llite/llite_nfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/llite/llite_nfs.c b/lustre/llite/llite_nfs.c index 610f632..002e95e 100644 --- a/lustre/llite/llite_nfs.c +++ b/lustre/llite/llite_nfs.c @@ -57,6 +57,8 @@ __u32 get_uuid2int(const char *name, int len) return (key0 << 1); } +#if THREAD_SIZE >= 8192 /* see bug 17630 */ + static int ll_nfs_test_inode(struct inode *inode, void *opaque) { struct ll_fid *iid = opaque; @@ -278,8 +280,6 @@ struct dentry *ll_get_parent(struct dentry *dchild) RETURN(result); } - -#if THREAD_SIZE >= 8192 struct export_operations lustre_export_operations = { .encode_fh = ll_encode_fh, #ifdef HAVE_FH_TO_DENTRY @@ -290,4 +290,4 @@ struct export_operations lustre_export_operations = { .decode_fh = ll_decode_fh, #endif }; -#endif +#endif /* THREAD_SIZE >= 8192 */ -- 1.8.3.1