On 10/26/2015 05:15 PM, Andreas Gruenbacher wrote: > Signed-off-by: Andreas Gruenbacher <agrue...@redhat.com>
Acked-by: Stephen Smalley <s...@tycho.nsa.gov> > --- > security/selinux/hooks.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c > index e4369d8..fc8f626 100644 > --- a/security/selinux/hooks.c > +++ b/security/selinux/hooks.c > @@ -2756,13 +2756,11 @@ static int selinux_inode_init_security(struct inode > *inode, struct inode *dir, > void **value, size_t *len) > { > const struct task_security_struct *tsec = current_security(); > - struct inode_security_struct *dsec; > struct superblock_security_struct *sbsec; > u32 sid, newsid, clen; > int rc; > char *context; > > - dsec = dir->i_security; > sbsec = dir->i_sb->s_security; > > sid = tsec->sid; > _______________________________________________ Ocfs2-devel mailing list Ocfs2-devel@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-devel