fs/ocfs2: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
@@ -182,8 +182,7 @@ static int dlmfs_file_release(struct inode *inode,
|
||||
{
|
||||
int level, status;
|
||||
struct dlmfs_inode_private *ip = DLMFS_I(inode);
|
||||
struct dlmfs_filp_private *fp =
|
||||
(struct dlmfs_filp_private *) file->private_data;
|
||||
struct dlmfs_filp_private *fp = file->private_data;
|
||||
|
||||
if (S_ISDIR(inode->i_mode))
|
||||
BUG();
|
||||
|
Reference in New Issue
Block a user