summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2018-08-03 10:57:52 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2018-08-03 13:20:02 +0100
commit21e2156f3c4b2ad8b780a6d02342ca0e028a8acd (patch)
treeb7287ec9b1c692543139c7d61fad7dd0a77601f0 /fs/gfs2/incore.h
parent3f30f929bb17877ebc1653c6f3ff41863f1ba524 (diff)
downloadlinux-stable-21e2156f3c4b2ad8b780a6d02342ca0e028a8acd.tar.gz
linux-stable-21e2156f3c4b2ad8b780a6d02342ca0e028a8acd.tar.bz2
linux-stable-21e2156f3c4b2ad8b780a6d02342ca0e028a8acd.zip
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/incore.h')
0 files changed, 0 insertions, 0 deletions