Skip to content

Commit 22d984f

Browse files
mgurtovoymstsirkin
authored andcommitted
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. Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Message-Id: <20241006184324.8497-1-mgurtovoy@nvidia.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent a49c26f commit 22d984f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/fuse/virtio_fs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ static int virtio_fs_read_tag(struct virtio_device *vdev, struct virtio_fs *fs)
521521
return -EINVAL;
522522
}
523523

524+
dev_info(&vdev->dev, "discovered new tag: %s\n", fs->tag);
524525
return 0;
525526
}
526527

0 commit comments

Comments
 (0)