From patchwork Tue Aug 3 22:32:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Neuling X-Patchwork-Id: 116887 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o73MWGnL027594 for ; Tue, 3 Aug 2010 22:32:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755997Ab0HCWcP (ORCPT ); Tue, 3 Aug 2010 18:32:15 -0400 Received: from ozlabs.org ([203.10.76.45]:53019 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756695Ab0HCWcP (ORCPT ); Tue, 3 Aug 2010 18:32:15 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 10F8FB70A5; Wed, 4 Aug 2010 08:32:14 +1000 (EST) Received: by localhost.localdomain (Postfix, from userid 1000) id E6A1ACC128; Wed, 4 Aug 2010 08:32:13 +1000 (EST) Received: from neuling.org (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id DEC3DC568F; Wed, 4 Aug 2010 08:32:13 +1000 (EST) From: Michael Neuling To: David Howells cc: stable@kernel.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Layton Subject: [PATCH 2.6.32/stable] CIFS: Fix compile error with __init in cifs_init_dns_resolver() definition In-reply-to: <12482.1280871625@redhat.com> References: <19826.1280811821@neuling.org> <19789.1280811783@neuling.org> <12482.1280871625@redhat.com> Comments: In-reply-to David Howells message dated "Tue, 03 Aug 2010 22:40:25 +0100." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.1.1 Date: Wed, 04 Aug 2010 08:32:13 +1000 Message-ID: <20749.1280874733@neuling.org> Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 03 Aug 2010 22:32:16 +0000 (UTC) Index: linux-2.6-ozlabs/fs/cifs/dns_resolve.h =================================================================== --- linux-2.6-ozlabs.orig/fs/cifs/dns_resolve.h +++ linux-2.6-ozlabs/fs/cifs/dns_resolve.h @@ -24,6 +24,8 @@ #define _DNS_RESOLVE_H #ifdef __KERNEL__ +#include + extern int __init cifs_init_dns_resolver(void); extern void cifs_exit_dns_resolver(void); extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr);