Skip to content
Commit a919dbc9 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

files: Fix restoration of ghost cwd (and root)



When cwd is removed (it can be) we need to collect the respective
file_desc before starting opening any files to properly handle
ghost refcounts. Otherwise we will miss one refcount from the
cwd's on ghost, which in turn will either BUG inside ghost removal,
or will fail the cwd due to the respective dir being removed too
early.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent ba8671b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment