Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753141AbcCGPaE (ORCPT ); Mon, 7 Mar 2016 10:30:04 -0500 Received: from e19.ny.us.ibm.com ([129.33.205.209]:37078 "EHLO e19.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbcCGP3u (ORCPT ); Mon, 7 Mar 2016 10:29:50 -0500 X-IBM-Helo: d01dlp01.pok.ibm.com X-IBM-MailFrom: paulmck@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Mon, 7 Mar 2016 05:53:56 -0800 From: "Paul E. McKenney" To: Daeho Jeong Cc: "linux-kernel@vger.kernel.org" Subject: Re: Question about percpu_free_rwsem function Message-ID: <20160307135356.GS3577@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <37141218.258171457321291665.JavaMail.weblogic@ep2mlwas02b> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37141218.258171457321291665.JavaMail.weblogic@ep2mlwas02b> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16030715-0057-0000-0000-000003A328EF Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 776 Lines: 17 On Mon, Mar 07, 2016 at 03:28:11AM +0000, Daeho Jeong wrote: > Hi, > > I got a trouble while I am developing a patch for EXT4 filesytem. > Actually, I used a percpu rw semaphore in my patch and there was no > problem when I built EXT4 filesystem as built-in mode. However, when > kbuild auto build robot built EXT4 filesystem with my patch as a "module", > a bulid error occurred because percpu_free_rwsem() function is not exported. > > I noticed that other functions except percpu_free_rwsem() were exported in 2015. > Is there any reason for percpu_free_rwsem() not to be exported? > If I need the function to be exported, should I do that in my patch? :-) Sounds like a question for the ext4 maintainers. You can find them in the MAINTAINERS file. Thanx, Paul