libfstools: optimize building directory string for glob
authorRafał Miłecki <rafal@milecki.pl>
Fri, 5 Jan 2018 14:24:30 +0000 (15:24 +0100)
committerJohn Crispin <john@phrozen.org>
Sun, 7 Jan 2018 12:01:21 +0000 (13:01 +0100)
commit2a9a6ea4ac221f913ea318d7ac17ff2c31bdf5c2
tree64176eb46a40eaeba2cf3fadcecf23c2608c8306
parentde6b026d685670fbb10279c4a75a9227d94f22d2
libfstools: optimize building directory string for glob

glob should handle paths like /foo/bar//* so we probably don't need this
extra check & code.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
libfstools/overlay.c