Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758518AbYJLLbV (ORCPT ); Sun, 12 Oct 2008 07:31:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751909AbYJLLbM (ORCPT ); Sun, 12 Oct 2008 07:31:12 -0400 Received: from mx2.redhat.com ([66.187.237.31]:46881 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbYJLLbM (ORCPT ); Sun, 12 Oct 2008 07:31:12 -0400 Date: Sun, 12 Oct 2008 07:30:37 -0400 From: Jeff Layton To: "Rafael J. Wysocki" Cc: "Steven Noonan" , "Ingo Molnar" , "Steve French" , linux-kernel@vger.kernel.org, Adrian Bunk Subject: Re: [PATCH] cifs: fix build on !CONFIG_KEYS Message-ID: <20081012073037.20d399ee@tleilax.poochiereds.net> In-Reply-To: <200810121330.49028.rjw@sisk.pl> References: <20081012110904.GA581@elte.hu> <200810121330.49028.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 29 On Sun, 12 Oct 2008 13:30:48 +0200 "Rafael J. Wysocki" wrote: > On Sunday, 12 of October 2008, Steven Noonan wrote: > > Hmm, which fix is correct though? Depending on KEYS in Kconfig, or > > adding a nop for it? > > Well, according to git-blame the key_revoke() has been added to fs/cifs/sess.c > only recently while key_put() was there before. For this reason I think it's > correct to handle key_revoke() in analogy with key_put(), ie. add an empty > definition for it if CONFIG_KEYS is unset. > > Thanks, > Rafael > Agreed. It should be possible to build CIFS w/o KEYS support. Adding an empty key_revoke looks like the right thing to do. Looks like Adrian Bunk sent a patch for this a few hours ago: Subject: [2.6 patch] add key_revoke() dummy for KEYS=n -- Jeff Layton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/