]> granicus.if.org Git - zfs/commit
Fix block device-related issues in zdb.
authorRicardo M. Correia <ricardo.correia@oracle.com>
Tue, 14 Dec 2010 17:50:37 +0000 (09:50 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 14 Dec 2010 17:52:46 +0000 (09:52 -0800)
commit8d4e8140ef67fa9c8fa0b1d0f5b1d5d36c747969
treeced2415e5af0232e7847a6c607b21e8e3196e8cf
parenta7dc7e5d5a5c4a68266b3d9ce89c6c53c04b1741
Fix block device-related issues in zdb.

Specifically, this fixes the two following errors in zdb when a pool
is composed of block devices:

1) 'Value too large for defined data type' when running 'zdb <dataset>'.
2) 'character device required' when running 'zdb -l <block-device>'.

Signed-off-by: Ricardo M. Correia <ricardo.correia@oracle.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
cmd/zdb/zdb.c
lib/libspl/include/sys/Makefile.am
lib/libspl/include/sys/Makefile.in
lib/libspl/include/sys/stat.h [new file with mode: 0644]
lib/libzpool/kernel.c