[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: vfs-scale, general questions
On Thu, 20 Jan 2011, J. R. Okajima wrote:
> You might think about the race around d_move, but what I meant is the
> race between d_unlinked and unhash/rehash.
> - getcwd return -ENOENT when pwd is unhashed.
> - vfs_rename_dir()
> + makes the existing target unhashed.

No it doesn't. dentry_unhash() doesn't drop the dentry from the hash
unless it has no other references, cwd being one such ref.


 \ /
  Last update: 2011-01-20 12:17    [W:0.054 / U:4.616 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site