]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/earlycpio.h
8021q: fix a potential memory leak
[mirror_ubuntu-bionic-kernel.git] / include / linux / earlycpio.h
CommitLineData
e6459606
PA
1#ifndef _LINUX_EARLYCPIO_H
2#define _LINUX_EARLYCPIO_H
3
4#include <linux/types.h>
5
6#define MAX_CPIO_FILE_NAME 18
7
8struct cpio_data {
9 void *data;
10 size_t size;
11 char name[MAX_CPIO_FILE_NAME];
12};
13
14struct cpio_data find_cpio_data(const char *path, void *data, size_t len,
15 long *offset);
16
17#endif /* _LINUX_EARLYCPIO_H */