Skip to content

nvme connect: fix output#3217

Merged
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:fix-fabrics
Mar 30, 2026
Merged

nvme connect: fix output#3217
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:fix-fabrics

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Mar 30, 2026

fabrics: do not print device name when dumping config

When the user asks for dumping the config, don't print the device name
on connect. This can result in invalid JSON output.

Signed-off-by: Daniel Wagner [email protected]

igaw added 2 commits March 30, 2026 11:45
The config should be dumped on stdout not stderr.

Fixes: 74b30d2 ("json: update nvme_dump_config to a file descriptor")
Signed-off-by: Daniel Wagner <[email protected]>
When the user asks for dumping the config, don't print the device name
on connect. This can result in invalid JSON output.

Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit f1224d0 into linux-nvme:master Mar 30, 2026
29 checks passed
@igaw igaw deleted the fix-fabrics branch March 30, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant