just noticed that this function has nothing to do with the dma buf api and that you are still replacing the   dumb   mmap with the dma buf mmap module  i think it would be best to keep both around for now 