require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&v_rdev)) {
    sub v_rdev () {	 ($v_specinfo->{si_rdev});}
}
unless(defined(&v_hashchain)) {
    sub v_hashchain () {	 ($v_specinfo->{si_hashchain});}
}
unless(defined(&v_specnext)) {
    sub v_specnext () {	 ($v_specinfo->{si_specnext});}
}
unless(defined(&v_specmountpoint)) {
    sub v_specmountpoint () {	 ($v_specinfo->{si_mountpoint});}
}
unless(defined(&v_speclockf)) {
    sub v_speclockf () {	 ($v_specinfo->{si_lockf});}
}
unless(defined(&v_specparent)) {
    sub v_specparent () {	 ($v_specinfo->{si_ci}->{ci_parent});}
}
unless(defined(&v_specbitmap)) {
    sub v_specbitmap () {	 ($v_specinfo->{si_ci}->{ci_bitmap});}
}
unless(defined(&SPECHSZ)) {
    sub SPECHSZ () {	64;}
}
if((((defined(&SPECHSZ) ? &SPECHSZ : 0)((defined(&SPECHSZ) ? &SPECHSZ : 0)-1)) == 0)) {
    eval 'sub SPECHASH {
        my($rdev) = @_;
	    eval q(((($rdev>>5)+($rdev))( &SPECHSZ-1)));
    }' unless defined(&SPECHASH);
} else {
    eval 'sub SPECHASH {
        my($rdev) = @_;
	    eval q((((($rdev>>5)+($rdev)))% &SPECHSZ));
    }' unless defined(&SPECHASH);
}
unless(defined(&spec_create)) {
    sub spec_create () {	 &spec_badop;}
}
unless(defined(&spec_mknod)) {
    sub spec_mknod () {	 &spec_badop;}
}
unless(defined(&spec_access)) {
    sub spec_access () {	 &spec_ebadf;}
}
unless(defined(&spec_getattr)) {
    sub spec_getattr () {	 &spec_ebadf;}
}
unless(defined(&spec_setattr)) {
    sub spec_setattr () {	 &spec_ebadf;}
}
unless(defined(&spec_remove)) {
    sub spec_remove () {	 &spec_badop;}
}
unless(defined(&spec_link)) {
    sub spec_link () {	 &spec_badop;}
}
unless(defined(&spec_rename)) {
    sub spec_rename () {	 &spec_badop;}
}
unless(defined(&spec_mkdir)) {
    sub spec_mkdir () {	 &spec_badop;}
}
unless(defined(&spec_rmdir)) {
    sub spec_rmdir () {	 &spec_badop;}
}
unless(defined(&spec_symlink)) {
    sub spec_symlink () {	 &spec_badop;}
}
unless(defined(&spec_readdir)) {
    sub spec_readdir () {	 &spec_badop;}
}
unless(defined(&spec_readlink)) {
    sub spec_readlink () {	 &spec_badop;}
}
unless(defined(&spec_abortop)) {
    sub spec_abortop () {	 &spec_badop;}
}
unless(defined(&spec_reclaim)) {
    sub spec_reclaim () {	 &nullop;}
}
unless(defined(&spec_lock)) {
    sub spec_lock () {	 &vop_generic_lock;}
}
unless(defined(&spec_unlock)) {
    sub spec_unlock () {	 &vop_generic_unlock;}
}
unless(defined(&spec_islocked)) {
    sub spec_islocked () {	 &vop_generic_islocked;}
}
unless(defined(&spec_reallocblks)) {
    sub spec_reallocblks () {	 &spec_badop;}
}
unless(defined(&spec_bwrite)) {
    sub spec_bwrite () {	 &vop_generic_bwrite;}
}
unless(defined(&spec_revoke)) {
    sub spec_revoke () {	 &vop_generic_revoke;}
}
1;
