Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 3/3] VFS: close race between getcwd() and d_move()

$
0
0
Linus Torvalds writes: (Summary) You've taken the BUG_ON() from __d_rehash() that no longe rmakes any sense (because we just explicitly unhashed it), and replaced it with a BUG_ON() that didn't exist before, and is also not the conditionm that __d_drop actually had (or the condition that means that the hash liost might be
different - ie the whole IS_ROOT() case).

I'm not claiming that as an optimization (it's an unusual case), I'm
more thinking that it might fall out fairly naturally from the "lock
both" case, since that one needs to check for the same list anyway.

Viewing all articles
Browse latest Browse all 1267

Trending Articles