From: Christoph Hellwig <hch@infradead.org>
To: Sage Weil <sage@newdream.net>
Cc: ceph-devel@vger.kernel.org, Alex Elder <elder@dreamhost.com>
Subject: Re: [PATCH 1/3] ceph: take inode lock when finding an inode alias
Date: Thu, 29 Dec 2011 04:10:20 -0500 [thread overview]
Message-ID: <20111229091020.GA5257@infradead.org> (raw)
In-Reply-To: <1325124315-3487-2-git-send-email-sage@newdream.net>
On Wed, Dec 28, 2011 at 06:05:13PM -0800, Sage Weil wrote:
> +/* The following code copied from "fs/dcache.c" */
> +static struct dentry * d_find_any_alias(struct inode *inode)
> +{
> + struct dentry *de;
> +
> + spin_lock(&inode->i_lock);
> + de = __d_find_any_alias(inode);
> + spin_unlock(&inode->i_lock);
> + return de;
> +}
> +/* End of code copied from "fs/dcache.c" */
I would be much happier about just exporting d_find_any_alias.
next prev parent reply other threads:[~2011-12-29 9:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-29 2:05 [PATCH 0/3] Ceph fixes for 3.2 final Sage Weil
2011-12-29 2:05 ` [PATCH 1/3] ceph: take inode lock when finding an inode alias Sage Weil
2011-12-29 9:10 ` Christoph Hellwig [this message]
2011-12-29 2:05 ` [PATCH 2/3] ceph: take a reference to the dentry in d_find_any_alias() Sage Weil
2011-12-29 9:11 ` Christoph Hellwig
2011-12-29 14:34 ` Alex Elder
2011-12-29 14:54 ` Christoph Hellwig
2011-12-29 2:05 ` [PATCH 3/3] ceph: enable/disable dentry complete flags via mount option Sage Weil
2011-12-29 9:11 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2011-12-22 20:13 [PATCH 1/3] ceph: take inode lock when finding an inode alias Sage Weil
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=20111229091020.GA5257@infradead.org \
--to=hch@infradead.org \
--cc=ceph-devel@vger.kernel.org \
--cc=elder@dreamhost.com \
--cc=sage@newdream.net \
/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