From: Christoph Hellwig <hch@infradead.org>
To: Dan Luedtke <mail@danrl.de>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Are lock_super() and unlock_super() deprecated?
Date: Sun, 17 Jun 2012 14:20:17 -0400 [thread overview]
Message-ID: <20120617182017.GA24248@infradead.org> (raw)
In-Reply-To: <1339956342.4747.3.camel@localhost>
On Sun, Jun 17, 2012 at 08:05:42PM +0200, Dan Luedtke wrote:
> Hello everyone,
>
> short question: What am I supposed to use instead of lock_super() and
> unlock_super() in newly written filesystem drivers?
Just use your own locking inside the filesystem. The direct replacement
would be a mutex, but if it fits your design better anything else will
work too.
prev parent reply other threads:[~2012-06-17 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-17 18:05 Are lock_super() and unlock_super() deprecated? Dan Luedtke
2012-06-17 18:20 ` Christoph Hellwig [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=20120617182017.GA24248@infradead.org \
--to=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mail@danrl.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.