From: Martin Kepplinger <martink@posteo.de>
To: Tom Van Braeckel <tomvanbraeckel@gmail.com>
Cc: Chris Mason <clm@fb.com>,
jbacik@fb.com, dsterba@suse.cz, linux-btrfs@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] btrfs: explicitly set control file's private_data
Date: Tue, 31 Mar 2015 15:40:46 +0200 [thread overview]
Message-ID: <c856fb189db91b156581f26e673e5cf9@posteo.de> (raw)
In-Reply-To: <CAJ7vePA5CpzVSPwHD6X4arLPRLt9tdgXSVAcQtyugJporJG-ng@mail.gmail.com>
Am 31.03.2015 14:31 schrieb Tom Van Braeckel:
> Err, upon further inspection, I think that this was a false positive.
>
> Btrfs relies on the initial value of the private_data member of a file
> being NULL in the regular ioctl operation handler for
> BTRFS_IOC_TRANS_START but it does not use the miscdevice framework for
> those files.
>
> It *does* use the miscdevice framework in the ioctl operation handler
> of the /dev/btrfs-control file but there it does not use the file's
> private_data member. So IMHO, the proposed patch is not necessary...
This is offtopic, assuming you are right and didn't find more affected
places:
Then I would say you could re-post the real change (to misc_open() ) to
the
relevant people for 4.2 (not 4.1), so either wait for 4.0 to be released
or try
something like "for 4.2" in the topic (or as a comment after the ---
dashes in
the patch email)
I would want to have it in -next for one cycle at least.
Further, I would remove the code-comment you had here
https://lkml.org/lkml/2015/1/9/718 because GregKH already pulled this in
(a little too early ;) :
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=03190c67ff72b5c56b24266762ab8abe68970f45
which is extractable kernel documenation. You could somehow link to it
in the commit message.
martin
prev parent reply other threads:[~2015-03-31 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 17:34 [PATCH] " Tom Van Braeckel
2015-03-24 14:01 ` David Sterba
2015-03-24 15:35 ` [PATCH v2] " Tom Van Braeckel
2015-03-31 12:31 ` Tom Van Braeckel
2015-03-31 13:40 ` Martin Kepplinger [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=c856fb189db91b156581f26e673e5cf9@posteo.de \
--to=martink@posteo.de \
--cc=clm@fb.com \
--cc=dsterba@suse.cz \
--cc=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tomvanbraeckel@gmail.com \
/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
all inboxes | Powered by JetHome®