From: yangsheng Date: Tue, 16 Jun 2009 08:58:32 +0000 (+0000) Subject: Branch b_release_1_8_1 X-Git-Tag: v1_8_0_170~18 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5d56f0d85bb601de236f68d119ade36548bbd808;p=fs%2Flustre-release.git Branch b_release_1_8_1 b=19868 i=johann, shadow Move up the THREAD_SIZE to comply the Werror. --- 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 */