diff options
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r-- | drivers/base/devtmpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index 4afb04686c8e..5743f04014ca 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c | |||
@@ -387,7 +387,7 @@ static int devtmpfsd(void *p) | |||
387 | if (*err) | 387 | if (*err) |
388 | goto out; | 388 | goto out; |
389 | sys_chdir("/.."); /* will traverse into overmounted root */ | 389 | sys_chdir("/.."); /* will traverse into overmounted root */ |
390 | sys_chroot("."); | 390 | ksys_chroot("."); |
391 | complete(&setup_done); | 391 | complete(&setup_done); |
392 | while (1) { | 392 | while (1) { |
393 | spin_lock(&req_lock); | 393 | spin_lock(&req_lock); |