[PATCH 16/16] GFS2:
Export tty_write_message(). This is required by the quota code and is
used in the same way as the core kernel quota code uses it. Also
export the routine for initialising ra_state structures and the
file_read_actor for GFS2's internal read routines.
Signed-off-by: Steven Whitehouse <[email protected]>
Signed-off-by: David Teigland <[email protected]>
kernel/printk.c | 1 +
mm/filemap.c | 1 +
mm/readahead.c | 1 +
3 files changed, 3 insertions(+)
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -999,6 +999,7 @@ void tty_write_message(struct tty_struct
tty->driver->write(tty, msg, strlen(msg));
return;
}
+EXPORT_SYMBOL_GPL(tty_write_message);
/*
* printk rate limiting, lifted from the networking subsystem.
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -981,6 +981,7 @@ success:
desc->arg.buf += size;
return size;
}
+EXPORT_SYMBOL(file_read_actor);
/*
* This is the "read()" routine for all filesystems
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -38,6 +38,7 @@ file_ra_state_init(struct file_ra_state
ra->ra_pages = mapping->backing_dev_info->ra_pages;
ra->prev_page = -1;
}
+EXPORT_SYMBOL_GPL(file_ra_state_init);
/*
* Return max readahead size for this inode in number-of-pages.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]