mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +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>
This commit is contained in:
parent
01cb75ac0e
commit
a60c53a9e1
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user