summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-02-23 15:13:03 -0800
committerBrian Behlendorf <[email protected]>2011-02-23 15:13:03 -0800
commitdc1d7665c54de024cf5ded1b835482dbc5f1ae38 (patch)
tree2e95fda6a54f284665cd1954aa15e3362407d319 /lib
parent99c564bc48710ff2a6edbfcad16d3c3b89773111 (diff)
Remove rdev packing
Remove custom code to pack/unpack dev_t's. Under Linux all dev_t's are an unsigned 32-bit value even on 64-bit platforms. The lower 20 bits are used for the minor number and the upper 12 for the major number. This means if your importing a pool from Solaris you may get strange major/minor numbers. But it doesn't really matter because even if we add compatibility code to translate the encoded Solaris major/minor they won't do you any good under Linux. You will still need to recreate the dev_t with a major/minor which maps to reserved major numbers used under Linux. Dropping this code also resolves 32-bit builds by removing the offending 32-bit compatibility code.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions