platform: msm: fix PFT when using direct-io

When we read/write a file using dircet-io (O_DIRECT),
we can't get the inode from a bio by walking the path
bio->bi_io_vec->bv_page->mapping->host
since the page is anonymous and not mapped.
On the other more typical cases when not using O_DIRECT,
the page cache is used and the bv_page is available.

Change-Id: I349cad54a978ed9919f960d55f0f95c1e53262e5
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
diff --git a/include/linux/pft.h b/include/linux/pft.h
index 36e9612..2ec92da 100644
--- a/include/linux/pft.h
+++ b/include/linux/pft.h
@@ -15,11 +15,12 @@
 
 #include <linux/types.h>
 #include <linux/fs.h>
+#include <linux/bio.h>
 
 #ifdef CONFIG_PFT
 
 /* dm-req-crypt API */
-int pft_get_key_index(struct inode *inode, u32 *key_index,
+int pft_get_key_index(struct bio *bio, u32 *key_index,
 		      bool *is_encrypted, bool *is_inplace);
 
 /* block layer API */