This bug was fixed in Linux 3.18.4 by commit d5471f896bb7a39074c802f22247cf332e4b5551 and in 3.19 by commit 7c2e211f3c95b91912a92a8c6736343690042e2e