public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH 4/4] xfs: move xfs_bmap_finish prototype
Date: Fri, 9 Jan 2015 10:15:03 +1100	[thread overview]
Message-ID: <20150108231503.GJ25000@dastard> (raw)
In-Reply-To: <20150108124627.GD3424@infradead.org>

On Thu, Jan 08, 2015 at 04:46:27AM -0800, Christoph Hellwig wrote:
> On Thu, Jan 08, 2015 at 08:43:03AM +1100, Dave Chinner wrote:
> > From: Dave Chinner <dchinner@redhat.com>
> > 
> > This function is used libxfs code, but is implemented separately in
> > userspace. Move the function prototype to xfs_bmap.h so that the
> > prototype is shared even if the implementations aren't.
> > 
> > Signed-off-by: Dave Chinner <dchinner@redhat.com>
> 
> Does this help you a lot?  Seems a little on the fringe to me, but
> if it helps I'm fine with it:

It's just another random difference. We define the other bmap
freelist prototypes in xfs_bmap.h (e.g. xfs_bmap_cancel) because
there is libxfs code that uses them, even though the implementations
are not in the shared libxfs code. So while it's a small change, it
makes everything consistent and makes the diff between kernel and
user space just a little smaller.

There's likely to be a few more small changes like this as I work
through all the remaining differences inthe code bases....

> Reviewed-by: Christoph Hellwig <hch@lst.de>

Thanks,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2015-01-08 23:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 21:42 [PATCH 0/4] libxfs: code rearrangement Dave Chinner
2015-01-07 21:43 ` [PATCH 1/4] xfs: move xfs_fs.h to libxfs Dave Chinner
2015-01-08 12:44   ` Christoph Hellwig
2015-01-08 23:15     ` Dave Chinner
2015-01-07 21:43 ` [PATCH 2/4] xfs: move xfs_types.h " Dave Chinner
2015-01-08 12:45   ` Christoph Hellwig
2015-01-07 21:43 ` [PATCH 3/4] xfs: move struct xfs_bmalloca " Dave Chinner
2015-01-08 12:45   ` Christoph Hellwig
2015-01-07 21:43 ` [PATCH 4/4] xfs: move xfs_bmap_finish prototype Dave Chinner
2015-01-08 12:46   ` Christoph Hellwig
2015-01-08 23:15     ` Dave Chinner [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=20150108231503.GJ25000@dastard \
    --to=david@fromorbit.com \
    --cc=hch@infradead.org \
    --cc=xfs@oss.sgi.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