diff --git a/fs/file_table.c b/fs/file_table.c index 17a55b81be2d..0afacf654398 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -194,6 +194,7 @@ struct file *alloc_file(struct path *path, fmode_t mode, ima_counts_get(file); return file; } +EXPORT_SYMBOL(alloc_file); void fput(struct file *file) {