~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to grub-core/io/bufio.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-05-17 23:59:10 UTC
  • mto: (17.3.55 sid)
  • mto: This revision was merged to the branch mainline in revision 122.
  • Revision ID: james.westby@ubuntu.com-20110517235910-ma8u889vyjdfro27
Tags: upstream-1.99
ImportĀ upstreamĀ versionĀ 1.99

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <grub/misc.h>
24
24
#include <grub/fs.h>
25
25
#include <grub/bufio.h>
 
26
#include <grub/dl.h>
 
27
 
 
28
GRUB_MOD_LICENSE ("GPLv3+");
26
29
 
27
30
#define GRUB_BUFIO_DEF_SIZE     8192
28
31
#define GRUB_BUFIO_MAX_SIZE     1048576
74
77
  file->data = bufio;
75
78
  file->read_hook = 0;
76
79
  file->fs = &grub_bufio_fs;
77
 
  file->not_easly_seekable = io->not_easly_seekable;
 
80
  file->not_easily_seekable = io->not_easily_seekable;
78
81
 
79
82
  return file;
80
83
}