Commit 502a29b0 authored by XU pengfei's avatar XU pengfei Committed by Casey Schaufler

smack_lsm: remove unnecessary type casting

Remove unnecessary type casting.
The type of inode variable is struct inode *, so no type casting required.
Signed-off-by: default avatarXU pengfei <xupengfei@nfschina.com>
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
parent fe15c26e
......@@ -1477,7 +1477,7 @@ static int smack_inode_getsecurity(struct mnt_idmap *idmap,
struct socket_smack *ssp;
struct socket *sock;
struct super_block *sbp;
struct inode *ip = (struct inode *)inode;
struct inode *ip = inode;
struct smack_known *isp;
if (strcmp(name, XATTR_SMACK_SUFFIX) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment