diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-08-03 12:57:52 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2018-08-03 15:20:02 +0300 |
commit | 21e2156f3c4b2ad8b780a6d02342ca0e028a8acd (patch) | |
tree | b7287ec9b1c692543139c7d61fad7dd0a77601f0 /fs/gfs2/dentry.c | |
parent | 3f30f929bb17877ebc1653c6f3ff41863f1ba524 (diff) | |
download | linux-21e2156f3c4b2ad8b780a6d02342ca0e028a8acd.tar.xz |
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>
Diffstat (limited to 'fs/gfs2/dentry.c')
0 files changed, 0 insertions, 0 deletions