Change fs functions to add fs_ prefix
This avoid conflict with gnulib Signed-off-by: Vladimir Serbinenko <phcoder@google.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
c6725996a9
commit
ad4bfeec5c
55 changed files with 247 additions and 246 deletions
|
@ -119,10 +119,10 @@ grub_normal_print_device_info (const char *name)
|
|||
if (grub_strcmp (fsname, "ext2") == 0)
|
||||
fsname = "ext*";
|
||||
grub_printf_ (N_("Filesystem type %s"), fsname);
|
||||
if (fs->label)
|
||||
if (fs->fs_label)
|
||||
{
|
||||
char *label;
|
||||
(fs->label) (dev, &label);
|
||||
(fs->fs_label) (dev, &label);
|
||||
if (grub_errno == GRUB_ERR_NONE)
|
||||
{
|
||||
if (label && grub_strlen (label))
|
||||
|
@ -134,11 +134,11 @@ grub_normal_print_device_info (const char *name)
|
|||
}
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
}
|
||||
if (fs->mtime)
|
||||
if (fs->fs_mtime)
|
||||
{
|
||||
grub_int32_t tm;
|
||||
struct grub_datetime datetime;
|
||||
(fs->mtime) (dev, &tm);
|
||||
(fs->fs_mtime) (dev, &tm);
|
||||
if (grub_errno == GRUB_ERR_NONE)
|
||||
{
|
||||
grub_unixtime2datetime (tm, &datetime);
|
||||
|
@ -154,10 +154,10 @@ grub_normal_print_device_info (const char *name)
|
|||
}
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
}
|
||||
if (fs->uuid)
|
||||
if (fs->fs_uuid)
|
||||
{
|
||||
char *uuid;
|
||||
(fs->uuid) (dev, &uuid);
|
||||
(fs->fs_uuid) (dev, &uuid);
|
||||
if (grub_errno == GRUB_ERR_NONE)
|
||||
{
|
||||
if (uuid && grub_strlen (uuid))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue