fs: avoid pathes with '//' in __canonicalize_path()
In __canonicalize_path pathes beginning with '//' can occur. This
is normally not a problem since normalize_path() will clean this
up, but it means we cannot call get_fsdevice_by_path() on these
pathes in this function, as needed in the next patch.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d01954e commit eed363f4479795a0d005dfd40d11a1936e62ab40
@Sascha Hauer Sascha Hauer authored on 5 Sep 2017
Showing 1 changed file
View
fs/fs.c