All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] linux: use stat instead of udevadm for partition lookup
@ 2021-07-15 15:35 Petr Vorel
  2021-07-15 15:35 ` [PATCH v2 1/2] osdep: Introduce major.h and use it Petr Vorel
  2021-07-15 15:35 ` [PATCH v2 2/2] linux/hostdisk: use stat() instead of udevadm for partition lookup Petr Vorel
  0 siblings, 2 replies; 5+ messages in thread
From: Petr Vorel @ 2021-07-15 15:35 UTC (permalink / raw)
  To: grub-devel
  Cc: Petr Vorel, Daniel Kiper, Michael Chang, Mike Gilbert, Jeff Mahoney

Hi,

changes v1->v2:
* remove udevadm fallback from sysfs_partition_path() as we agreed it
  does not bring any advantage over plain stat() call.
* improve comment in major.h
* improve commit message
* adjust comment in configure.ac
* fix code style (spaces)

Jeff Mahoney (1):
  linux/hostdisk: use stat() instead of udevadm for partition lookup

Petr Vorel (1):
  osdep: Introduce major.h and use it

 configure.ac                         |  2 +-
 grub-core/osdep/devmapper/getroot.c  |  7 +---
 grub-core/osdep/devmapper/hostdisk.c |  7 +---
 grub-core/osdep/linux/getroot.c      |  7 +---
 grub-core/osdep/linux/hostdisk.c     | 52 ++++------------------------
 grub-core/osdep/unix/getroot.c       |  7 +---
 include/grub/osdep/major.h           | 30 ++++++++++++++++
 7 files changed, 41 insertions(+), 71 deletions(-)
 create mode 100644 include/grub/osdep/major.h

-- 
2.32.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-21 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 15:35 [PATCH v2 0/2] linux: use stat instead of udevadm for partition lookup Petr Vorel
2021-07-15 15:35 ` [PATCH v2 1/2] osdep: Introduce major.h and use it Petr Vorel
2021-07-21 14:19   ` Daniel Kiper
2021-07-15 15:35 ` [PATCH v2 2/2] linux/hostdisk: use stat() instead of udevadm for partition lookup Petr Vorel
2021-07-21 14:22   ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.