aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-04 18:52:48 -0700
committerJiri Kosina <jkosina@suse.cz>2010-09-23 13:29:38 +0200
commit0c6d7d5da27df7ec586fc916f06136a6b7ad1f72 (patch)
tree256be645285a861d143ee77703a7f33e7ce30a75 /fs/ecryptfs
parent8209e2f46752914e94f65469b8312c42dc5d7d8f (diff)
downloadkernel_samsung_aries-0c6d7d5da27df7ec586fc916f06136a6b7ad1f72.zip
kernel_samsung_aries-0c6d7d5da27df7ec586fc916f06136a6b7ad1f72.tar.gz
kernel_samsung_aries-0c6d7d5da27df7ec586fc916f06136a6b7ad1f72.tar.bz2
fs/ecryptfs: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r--fs/ecryptfs/ecryptfs_kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h
index 0032a9f..40186b9 100644
--- a/fs/ecryptfs/ecryptfs_kernel.h
+++ b/fs/ecryptfs/ecryptfs_kernel.h
@@ -477,7 +477,7 @@ ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat)
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