+29
−27
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Move unhashing the target to after the check for existence and being a non-directory. If renaming a directory then the VFS already unhashes the target if it is not busy. If it's busy then acquiring more references during the rename makes no difference. Signed-off-by:Miklos Szeredi <mszeredi@suse.cz> Signed-off-by:
Trond Myklebust <Trond.Myklebust@netapp.com>