lkml.org 
[lkml]   [2013]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] inotify: IN_DELETE events missing in -mm

You cannot move this line of code after dentry_iput(dentry); without
considerations for locking.

Another thread can get this dentry and be changing dentry->d_flags at the
same time!
We have hit this in testing. The code must be changed to have locks (if this
field needs to be changed or ...)

In our tests, the flag 0x10 in __d_drop goes missing because this line of
code executed at the same time on another processor.



--
View this message in context: http://linux-kernel.2935.n7.nabble.com/PATCH-inotify-IN-DELETE-events-missing-in-mm-tp105372p738511.html
Sent from the Linux Kernel mailing list archive at Nabble.com.


\
 
 \ /
  Last update: 2013-10-16 23:01    [W:0.478 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site