Investors & landlords

I understand the proposed loan would only be collateralized by the your primary residence.  Read the link i posted as I wonder why the IRS wouldn't look at this transaction as a 'cash out' where the money is not used for capital improvements on that same primary residence, and therefore all the interest would not be deductible