diff options
Diffstat (limited to 'net/sunrpc/xdr.c')
| -rw-r--r-- | net/sunrpc/xdr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index 8bd690c48b69..a1f82a87d34d 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 10 | #include <linux/slab.h> | ||
| 10 | #include <linux/types.h> | 11 | #include <linux/types.h> |
| 11 | #include <linux/string.h> | 12 | #include <linux/string.h> |
| 12 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| @@ -761,6 +762,7 @@ int write_bytes_to_xdr_buf(struct xdr_buf *buf, unsigned int base, void *obj, un | |||
| 761 | __write_bytes_to_xdr_buf(&subbuf, obj, len); | 762 | __write_bytes_to_xdr_buf(&subbuf, obj, len); |
| 762 | return 0; | 763 | return 0; |
| 763 | } | 764 | } |
| 765 | EXPORT_SYMBOL_GPL(write_bytes_to_xdr_buf); | ||
| 764 | 766 | ||
| 765 | int | 767 | int |
| 766 | xdr_decode_word(struct xdr_buf *buf, unsigned int base, u32 *obj) | 768 | xdr_decode_word(struct xdr_buf *buf, unsigned int base, u32 *obj) |
