From: Richard Yao Subject: [PATCH] fs: Export iterate_bdevs Date: Thu, 27 Jun 2013 22:22:37 -0400 Message-ID: <1372386158-11076-2-git-send-email-ryao@gentoo.org> References: <1372386158-11076-1-git-send-email-ryao@gentoo.org> Reply-To: zfs-devel-VKpPRiiRko4/ohRxsw7f2g@public.gmane.org Mime-Version: 1.0 Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org, zfs-devel-VKpPRiiRko4/ohRxsw7f2g@public.gmane.org, Richard Yao To: Alexander Viro Return-path: In-Reply-To: <1372386158-11076-1-git-send-email-ryao-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> List-Post: , List-Help: , List-Archive: List-Subscribe: , List-Unsubscribe: , List-Id: linux-fsdevel.vger.kernel.org iterate_bdevs() was recently introduced. It is in the company of several other bdev/device functions that are already exported, so I believe that there should be no problem exporting it as well. Signed-off-by: Richard Yao --- fs/block_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/block_dev.c b/fs/block_dev.c index 2091db8..0f659f3 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1713,3 +1713,4 @@ void iterate_bdevs(void (*func)(struct block_device *, void *), void *arg) spin_unlock(&inode_sb_list_lock); iput(old_inode); } +EXPORT_SYMBOL(iterate_bdevs); -- 1.8.1.5