mirror of
https://github.com/Zygo/bees.git
synced 2025-07-03 09:12:25 +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:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user