X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Ffs_ext2.c;h=a8bdf6bdf6d8de71a3bdf11275317eb9d6f234b5;hp=c86907ebb89464681194da73c951bc56ad0981eb;hb=3cbe90093acba116c5fc46beaf50f74c7c8a1b69;hpb=f9631a4c18c659a6144a697e0c629fe63a44970f diff --git a/second/fs_ext2.c b/second/fs_ext2.c index c86907e..a8bdf6b 100644 --- a/second/fs_ext2.c +++ b/second/fs_ext2.c @@ -141,7 +141,8 @@ ext2_open( struct boot_file_t* file, DEBUG_LEAVE(FILE_ERR_FSBUSY); return FILE_ERR_FSBUSY; } - if (file->device_kind != FILE_DEVICE_BLOCK) { + if (file->device_kind != FILE_DEVICE_BLOCK + && file->device_kind != FILE_DEVICE_ISCSI) { DEBUG_LEAVE(FILE_ERR_BADDEV); return FILE_ERR_BADDEV; }