Comment 17 for bug 242448

Revision history for this message
Adam Wood (adamwood) wrote :

The problem is in fs/ecryptfs/mmap.c

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=e4465fdaeb3f7b5ef47f389d3eac76db79ff20d8
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=eebd2aa355692afaf9906f62118620f1a1c19dbb

The first patch is the important one but because of some function name cleaning in the second patch it doesn't apply cleanly. The second patch listed has much wider ranging changes and in my opinion shouldn't be applied. Thankfully the changes to the ecryptfs files are tiny so I did them by hand and attached a patch that combines all needed changes to fix this bug.

The attached patch is probably not the right format. Sorry about that :-) but i thought it would be better than nothing.

I think the patch can be applied without the need to bump the ABI.