Displaying 1 result from an estimated 1 matches for "c30a3ba".
Did you mean:
c20a3bd
2011 Aug 06
0
help recover from unmountable btrfs
...ation) + 6],
+ (__u8)eb->data[offsetof (struct btrfs_header, generation) + 7],
+ eb->fd,
+ (unsigned long long)eb->dev_bytenr
+ + offsetof (struct btrfs_header, generation));
ret = 1;
out:
clear_extent_buffer_uptodate(io_tree, eb);
diff --git a/volumes.c b/volumes.c
index 7671855..c30a3ba 100644
--- a/volumes.c
+++ b/volumes.c
@@ -188,6 +188,9 @@ int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, int flags)
device->fd = fd;
if (flags == O_RDWR)
device->writeable = 1;
+ fprintf(stderr, "Device %llu (%s) opened in fd %i\n",
+ (unsigned long long)d...