fs/ecryptfs: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
@@ -477,7 +477,7 @@ ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat)
|
|||||||
static inline struct ecryptfs_file_info *
|
static inline struct ecryptfs_file_info *
|
||||||
ecryptfs_file_to_private(struct file *file)
|
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
|
||||||
|
Reference in New Issue
Block a user