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) This looks more palatable to me, yes.
This looks more palatable to me, yes.
It still worries me a bit that we end up having that dangling pprev pointer despite having dropped the hash list lock, but as long as nobody uses it for anything but that "is it hashed" test without taking the dentry lock, it all *should* be safe.
taking the dentry lock, it all *should* be safe.
Please fix the whitespace, though. This is not how we do function definitions:
    void __d_drop(struct dentry *dentry) {

but otherwise I think this patch is acceptable.

Viewing all articles
Browse latest Browse all 1267

Trending Articles