]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Mark file as not easily seekable on net open.
authorManoel Rebelo Abranches <mrabran@br.ibm.com>
Tue, 10 May 2011 12:30:26 +0000 (09:30 -0300)
committerManoel Rebelo Abranches <mrabran@br.ibm.com>
Tue, 10 May 2011 12:30:26 +0000 (09:30 -0300)
grub-core/net/net.c

index 48fb350d2084cd3a5fbe9f6387627eaf6409ea5f..cdeaa5a3274791838db91f66140a1032c507abb7 100644 (file)
@@ -609,6 +609,7 @@ grub_net_file_open_real (struct grub_file *file, const char *name)
 
   if ((err = file->device->net->protocol->open (file,name)))
     goto fail;
+  file->not_easily_seekable = 1;
   
   return GRUB_ERR_NONE;
 fail: