X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fbinfmt_flat.c;h=ae8595d498569a72c6be2f4ce45d956326d33a9a;hb=549ae0ac3d574a682e82b02e79259a65445a675b;hp=c94d52eafd1bc3c98c9ca5108228ebd762565d36;hpb=f17a2686b11453680e9662ef8bdc8d948d0dce18;p=powerpc.git diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index c94d52eafd..ae8595d498 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -16,7 +16,6 @@ */ #include -#include #include #include #include @@ -430,7 +429,7 @@ static int load_flat_file(struct linux_binprm * bprm, 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);