From patchwork Wed Mar 13 09:50:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Pisati X-Patchwork-Id: 227213 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 98D3B2C029B for ; Wed, 13 Mar 2013 20:51:09 +1100 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UFiKn-0001dc-UO; Wed, 13 Mar 2013 09:50:57 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UFiKk-0001bE-F5 for kernel-team@lists.ubuntu.com; Wed, 13 Mar 2013 09:50:54 +0000 Received: from 2-230-238-136.ip204.fastwebnet.it ([2.230.238.136] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1UFiKk-0000tn-C7 for kernel-team@lists.ubuntu.com; Wed, 13 Mar 2013 09:50:54 +0000 From: Paolo Pisati To: kernel-team@lists.ubuntu.com Subject: [PATCH 03/11] UBUNTU: ubuntu: overlayfs -- vfs: export do_splice_direct() to modules Date: Wed, 13 Mar 2013 10:50:43 +0100 Message-Id: <1363168251-9374-4-git-send-email-paolo.pisati@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1363168251-9374-1-git-send-email-paolo.pisati@canonical.com> References: <1363168251-9374-1-git-send-email-paolo.pisati@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com From: Miklos Szeredi Export do_splice_direct() to modules. Needed by overlay filesystem. Signed-off-by: Miklos Szeredi Signed-off-by: Andy Whitcroft (cherry picked from commit 769a52d8e0680e4a4dc03eff2c56bebcfdeeb531) BugLink: http://bugs.launchpad.net/bugs/1076317 Signed-off-by: Paolo Pisati --- fs/splice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/splice.c b/fs/splice.c index fa2defa..263dc3a 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1300,6 +1300,7 @@ long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, return ret; } +EXPORT_SYMBOL(do_splice_direct); static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe, struct pipe_inode_info *opipe,