All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: Sam Ravnborg <sam@ravnborg.org>,
	Christoph Hellwig <hch@infradead.org>, "Ted Ts'o" <tytso@mit.edu>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
	"matthew@wil.cx" <matthew@wil.cx>
Subject: RE: [PATCH] fs.h: introduce functions to get/set file->private_data
Date: Wed, 18 Aug 2010 10:15:05 -0700	[thread overview]
Message-ID: <1282151705.6724.100.camel@Joe-Laptop> (raw)
In-Reply-To: <0D753D10438DA54287A00B0270842697643E5A1CDF@AUSP01VMBX24.collaborationhost.net>

On Wed, 2010-08-18 at 11:48 -0500, H Hartley Sweeten wrote:
> FWIW, the only reason for bringing this up in the first place was I was
> trying to find all the places that have unnecessary casts when using
> the private_data.  Stuff like:
> 
> 	struct my_struct *my_data = (struct my_struct *)file->private_data;
> 
> Maybe it would be simpler to use spatch to just fix those?

I submitted that patch last month.  About half have been applied.

(I generally link to lkml.org, but it seems down)
http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-07/msg04333.html

I also delete the remaining casts in this conversion.



      reply	other threads:[~2010-08-18 17:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16 18:37 [PATCH] fs.h: introduce functions to get/set file->private_data H Hartley Sweeten
2010-08-16 23:17 ` Christoph Hellwig
2010-08-16 23:36   ` H Hartley Sweeten
2010-08-16 23:50     ` Joe Perches
2010-08-17  1:03       ` Ted Ts'o
2010-08-17  1:58         ` Joe Perches
2010-08-17  8:54         ` Christoph Hellwig
2010-08-17  8:54         ` Christoph Hellwig
2010-08-17 17:26           ` Joe Perches
2010-08-17 17:58             ` Sam Ravnborg
2010-08-17 18:21               ` Joe Perches
2010-08-18  1:32               ` Joe Perches
2010-08-18 16:48                 ` H Hartley Sweeten
2010-08-18 16:48                   ` H Hartley Sweeten
2010-08-18 17:15                   ` Joe Perches [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=1282151705.6724.100.camel@Joe-Laptop \
    --to=joe@perches.com \
    --cc=hartleys@visionengravers.com \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=sam@ravnborg.org \
    --cc=tytso@mit.edu \
    /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.