commit | 21e2156f3c4b2ad8b780a6d02342ca0e028a8acd | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Fri Aug 03 10:57:52 2018 +0100 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Fri Aug 03 13:20:02 2018 +0100 |
tree | b7287ec9b1c692543139c7d61fad7dd0a77601f0 | |
parent | 3f30f929bb17877ebc1653c6f3ff41863f1ba524 [diff] |
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: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Andrew Price <anprice@redhat.com> Reviewed-by: Bob Peterson <rpeterso@redhat.com>