1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

fs: dump the TREE_SEARCH_V2 parameters on exception

The current error message is useless.  At least say which tree we were
searching.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2021-11-17 01:51:19 -05:00
Ursprung 01cb75ac0e
Commit a60c53a9e1
+1 -1
Datei anzeigen
@@ -812,7 +812,7 @@ namespace crucible {
BtrfsIoctlSearchKey::do_ioctl(int fd) BtrfsIoctlSearchKey::do_ioctl(int fd)
{ {
if (!do_ioctl_nothrow(fd)) { if (!do_ioctl_nothrow(fd)) {
THROW_ERRNO("BTRFS_IOC_TREE_SEARCH_V2: " << name_fd(fd)); THROW_ERRNO("BTRFS_IOC_TREE_SEARCH_V2: " << name_fd(fd) << ": " << *this);
} }
} }