Fix endless loop in automount code
A chdir to a path registered as an automount path followed by a 'ls'
results in an endless loop. This happens because the command the
automounter executes results in another automount request.
Fix this by running the automounter from the chdir code before
the cwd is actually changed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 239699f commit 812c6f2beace08c1af3c851c30d87e8c55d357ff
@Sascha Hauer Sascha Hauer authored on 27 Nov 2013
Showing 1 changed file
View
fs/fs.c