This is the fix I've written against the 3.1-rc10 kernel. I plan on testing the error paths a little more and sending it to the eCryptfs and linux-fsdevel lists for peer review before committing it upstream.
It doesn't apply cleanly to the oneiric kernel sources (due to bf6c7f6c7bd0ea779757d35b5fdc9f9157f056b3), but it is a trivial cleanup when that time comes.
This is the fix I've written against the 3.1-rc10 kernel. I plan on testing the error paths a little more and sending it to the eCryptfs and linux-fsdevel lists for peer review before committing it upstream.
It doesn't apply cleanly to the oneiric kernel sources (due to bf6c7f6c7bd0ea7 79757d35b5fdc9f 9157f056b3) , but it is a trivial cleanup when that time comes.