From: Jim Mostek <jim.mostek@quantum.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] inotify: IN_DELETE events missing in -mm
Date: Wed, 16 Oct 2013 13:38:30 -0700 (PDT) [thread overview]
Message-ID: <1381955910743-738511.post@n7.nabble.com> (raw)
In-Reply-To: <20060329155719.GA22092@zk3.dec.com>
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.
prev parent reply other threads:[~2013-10-16 20:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 15:57 Amy Griffis
[not found] ` <1143668243.22134.29.camel@localhost.localdomain>
2006-03-29 21:37 ` John McCutchan
2006-03-30 1:51 ` Nick Piggin
2013-10-16 20:38 ` Jim Mostek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1381955910743-738511.post@n7.nabble.com \
--to=jim.mostek@quantum.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome