]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - fs/ecryptfs/ecryptfs_kernel.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs...
[~shefty/rdma-dev.git] / fs / ecryptfs / ecryptfs_kernel.h
index 59ab793fc01bfa6cc81638ea3e06f28cf3578393..413a3c48f0bb8a539f2dd09c72cdc8c972db83c1 100644 (file)
@@ -478,7 +478,7 @@ ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat)
 static inline struct ecryptfs_file_info *
 ecryptfs_file_to_private(struct file *file)
 {
 static inline struct ecryptfs_file_info *
 ecryptfs_file_to_private(struct file *file)
 {
-       return (struct ecryptfs_file_info *)file->private_data;
+       return file->private_data;
 }
 
 static inline void
 }
 
 static inline void