[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1009231331430.26813@pobox.suse.cz>
Date: Thu, 23 Sep 2010 13:31:52 +0200 (CEST)
From: Jiri Kosina <jkosina@...e.cz>
To: Joe Perches <joe@...ches.com>
Cc: Tyler Hicks <tyhicks@...ux.vnet.ibm.com>,
Dustin Kirkland <kirkland@...onical.com>,
ecryptfs-devel@...ts.launchpad.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 07/13] fs/ecryptfs: Remove unnecessary casts of
private_data
On Sat, 4 Sep 2010, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
> fs/ecryptfs/ecryptfs_kernel.h | 2 +-
> 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
Applied, thanks.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists