Skip to content

Commit

Permalink
virtio_fs: add informative log for new tag discovery
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Max Gurtovoy authored and Michael S. Tsirkin committed Nov 12, 2024
1 parent a49c26f commit 22d984f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/fuse/virtio_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 22d984f

Please sign in to comment.