gfs2: Get rid of gfs2_ea_strlen
Function gfs2_ea_strlen is only called from ea_list_i, so inline it there. Remove the duplicate switch statement and the creative use of memcpy to set a null byte. Signed-off-by: NAndreas Gruenbacher <agruenba@redhat.com> Reviewed-by: NAndrew Price <anprice@redhat.com> Reviewed-by: NBob Peterson <rpeterso@redhat.com>
Showing
想要评论请 注册 或 登录