Skip to contentSkip to conversation

virtio_fs: add informative log for new tag discovery

PATCH New Max Gurtovoy 1 participant 1 message Oct 6, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio_fs: add informative log for new tag discovery

Enhance the device probing process by adding a log message when a new virtio-fs tag is successfully discovered. This improvement provides better visibility into the initialization of virtio-fs devices.

---
 fs/fuse/virtio_fs.c | 1 +
 1 file changed, 1 insertion(+)
fs/fuse/virtio_fs.c +1 -0
index 44f2580db4c2..e2f48a1c57ee 100644
@@ -521,6 +521,7 @@ static int virtio_fs_read_tag(struct virtio_device *vdev, struct virtio_fs *fs)
 		return -EINVAL;
 	}
 
+	dev_info(&vdev->dev, "discovered new tag: %s\n", fs->tag);
 	return 0;
 }
 
Signature · 1 line
2.18.1