diff mbox

[V9fs-developer,net/9] Fix build issue with export symbols.

Message ID 1298397050-974-1-git-send-email-jvrao@linux.vnet.ibm.com (mailing list archive)
State Accepted, archived
Delegated to: Eric Van Hensbergen
Headers show

Commit Message

jvrao Feb. 22, 2011, 5:50 p.m. UTC
None
diff mbox

Patch

diff --git a/net/9p/trans_common.c b/net/9p/trans_common.c
index ca705f1..d62b9aa 100644
--- a/net/9p/trans_common.c
+++ b/net/9p/trans_common.c
@@ -13,6 +13,7 @@ 
  */
 
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <net/9p/9p.h>
 #include <net/9p/client.h>
 #include <linux/scatterlist.h>
@@ -32,6 +33,7 @@  p9_release_req_pages(struct trans_rpage_info *rpinfo)
 		i++;
 	}
 }
+EXPORT_SYMBOL(p9_release_req_pages);
 
 /**
  * p9_nr_pages - Return number of pages needed to accomodate the payload.
@@ -45,6 +47,7 @@  p9_nr_pages(struct p9_req_t *req)
 			PAGE_SIZE - 1) >> PAGE_SHIFT;
 	return end_page - start_page;
 }
+EXPORT_SYMBOL(p9_nr_pages);
 
 /**
  * payload_gup - Translates user buffer into kernel pages and
@@ -91,3 +94,4 @@  p9_payload_gup(struct p9_req_t *req, size_t *pdata_off, int *pdata_len,
 	}
 	return 0;
 }
+EXPORT_SYMBOL(p9_payload_gup);