提交 90cdd208 编写于 作者: S Steven Whitehouse

[GFS2] Flag up issue in selinux code

Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 639b6d79
......@@ -395,17 +395,14 @@ static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh,
l = 9;
break;
default:
/* FIXME: Needs looking at again */
break;
}
memcpy(er->er_data + ei->ei_size,
prefix, l);
memcpy(er->er_data + ei->ei_size + l,
GFS2_EA2NAME(ea),
memcpy(er->er_data + ei->ei_size, prefix, l);
memcpy(er->er_data + ei->ei_size + l, GFS2_EA2NAME(ea),
ea->ea_name_len);
memcpy(er->er_data + ei->ei_size +
ea_size - 1,
&c, 1);
memcpy(er->er_data + ei->ei_size + ea_size - 1, &c, 1);
}
ei->ei_size += ea_size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册