From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161093AbbE2VhZ (ORCPT ); Fri, 29 May 2015 17:37:25 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56650 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756266AbbE2VhW (ORCPT ); Fri, 29 May 2015 17:37:22 -0400 Date: Fri, 29 May 2015 14:37:20 -0700 From: Andrew Morton To: Dan Streetman Cc: Christoph Hellwig , Minchan Kim , Ganesh Mahendran , Kees Cook , Linux-MM , linux-kernel Subject: Re: [PATCH] zpool: add EXPORT_SYMBOL for functions Message-Id: <20150529143720.f660ab8a16aefa816da04a0a@linux-foundation.org> In-Reply-To: References: <1432912172-16591-1-git-send-email-ddstreet@ieee.org> <20150529152241.GA22726@infradead.org> <20150529163054.GA4420@infradead.org> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) 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 On Fri, 29 May 2015 12:35:46 -0400 Dan Streetman wrote: > On Fri, May 29, 2015 at 12:30 PM, Christoph Hellwig wrote: > > On Fri, May 29, 2015 at 11:36:05AM -0400, Dan Streetman wrote: > >> because they are available for public use, per zpool.h? If, e.g., > >> zram ever started using zpool, it would need them exported, wouldn't > >> it? > > > > If you want to use it in ram export it in the same series as those > > changes, and explain what the exprots are for in your message body. > > > > I don't want to use it in zram. I wrote zpool, but neglected to > export the functions. They should be exported though. > > What's your reasoning for not wanting them exported? It's just noise which has no value. Adding exports when there is a demonstrated need is an OK approach.