diff mbox

[v7,7/8] fs/pipe.c: export create_pipe_files()

Message ID 20171207015614.7914-8-jarkko.sakkinen@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jarkko Sakkinen Dec. 7, 2017, 1:54 a.m. UTC
Exported create_pipe_files() because the SGX driver needs to be able to
setup pipes for communicating with the helper process that hosts the
Launch Enclave (LE). The pipe creation will be done in the init-callback
supplied to call_usermodehelper_setup().

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
---
Could be removed if LE is moved to arch.
 fs/pipe.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/fs/pipe.c b/fs/pipe.c
index 6d98566201ef..4846886b0530 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -785,6 +785,7 @@  int create_pipe_files(struct file **res, int flags)
 	iput(inode);
 	return err;
 }
+EXPORT_SYMBOL_GPL(create_pipe_files);
 
 static int __do_pipe_flags(int *fd, struct file **files, int flags)
 {