[PATCH 6/6] partitions: gpt: log a message when partition table refreshed
Sascha Hauer <[email protected]> Wed, 01 Jul 2026 11:27:39 +0200
| Newsgroups | org.infradead.lists.barebox |
|---|---|
| Message-ID | <[email protected]> |
Inform the user when the partition table has been changed as that's a very useful information. Signed-off-by: Sascha Hauer <[email protected]> --- common/partitions/efi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/partitions/efi.c b/common/partitions/efi.c index 04f7117389..ab920e645a 100644 --- a/common/partitions/efi.c +++ b/common/partitions/efi.c @@ -82,6 +82,8 @@ static int gpt_refresh_one(struct block_device *blk) if (ret) dev_err(blk->dev, "Refreshing partition table failed: %pe\n", ERR_PTR(ret)); + else + dev_info(blk->dev, "Refreshed partition table\n"); return ret; } -- 2.47.3