#include <linux/init.h>
#include <linux/flat.h>
#include <linux/syscalls.h>
-#include <linux/vs_base.h>
#include <linux/vs_memory.h>
#include <asm/byteorder.h>
int ret;
hdr = ((struct flat_hdr *) bprm->buf); /* exec-header */
- inode = bprm->file->f_dentry->d_inode;
+ inode = bprm->file->f_path.dentry->d_inode;
text_len = ntohl(hdr->data_start);
data_len = ntohl(hdr->data_end) - ntohl(hdr->data_start);