mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
* grub-core/disk/diskfilter.c (grub_diskfilter_write): Call
grub_error properly. * grub-core/disk/ieee1275/nand.c (grub_nand_write): Likewise. * grub-core/disk/loopback.c (grub_loopback_write): Likewise.
This commit is contained in:
1 parent
a4c3ed4c8f
commit
10ca8645cc
4 files changed
+13
-3
No files matched your search
@@ -1,3 +1,10 @@
|
|||||||
|
2013-01-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/disk/diskfilter.c (grub_diskfilter_write): Call
|
||||||
|
grub_error properly.
|
||||||
|
* grub-core/disk/ieee1275/nand.c (grub_nand_write): Likewise.
|
||||||
|
* grub-core/disk/loopback.c (grub_loopback_write): Likewise.
|
||||||
|
|
||||||
2013-01-03 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-01-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub.d/10_kfreebsd.in: Correct the patch to zpool.cache as it's
|
* util/grub.d/10_kfreebsd.in: Correct the patch to zpool.cache as it's
|
||||||
|
|||||||
@@ -831,7 +831,8 @@ grub_diskfilter_write (grub_disk_t disk __attribute ((unused)),
|
|||||||
grub_size_t size __attribute ((unused)),
|
grub_size_t size __attribute ((unused)),
|
||||||
const char *buf __attribute ((unused)))
|
const char *buf __attribute ((unused)))
|
||||||
{
|
{
|
||||||
return GRUB_ERR_NOT_IMPLEMENTED_YET;
|
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||||
|
"diskfilter writes are not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
struct grub_diskfilter_vg *
|
struct grub_diskfilter_vg *
|
||||||
|
|||||||
@@ -203,7 +203,8 @@ grub_nand_write (grub_disk_t disk __attribute ((unused)),
|
|||||||
grub_size_t size __attribute ((unused)),
|
grub_size_t size __attribute ((unused)),
|
||||||
const char *buf __attribute ((unused)))
|
const char *buf __attribute ((unused)))
|
||||||
{
|
{
|
||||||
return GRUB_ERR_NOT_IMPLEMENTED_YET;
|
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||||
|
"nand write is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct grub_disk_dev grub_nand_dev =
|
static struct grub_disk_dev grub_nand_dev =
|
||||||
|
|||||||
@@ -206,7 +206,8 @@ grub_loopback_write (grub_disk_t disk __attribute ((unused)),
|
|||||||
grub_size_t size __attribute ((unused)),
|
grub_size_t size __attribute ((unused)),
|
||||||
const char *buf __attribute ((unused)))
|
const char *buf __attribute ((unused)))
|
||||||
{
|
{
|
||||||
return GRUB_ERR_NOT_IMPLEMENTED_YET;
|
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||||
|
"loopback write is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct grub_disk_dev grub_loopback_dev =
|
static struct grub_disk_dev grub_loopback_dev =
|
||||||
|
|||||||
Reference in new issue
Block a user