public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Scott <nathans@aconex.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd
Date: Wed, 7 Apr 2010 09:59:08 +1000 (EST)	[thread overview]
Message-ID: <1369590830.403251270598348701.JavaMail.root@mail-au.aconex.com> (raw)
In-Reply-To: <20100403103321.GA20739@infradead.org>


----- "Christoph Hellwig" <hch@infradead.org> wrote:

> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> Index: xfsprogs-dev/include/gnukfreebsd.h
> ===================================================================
> --- xfsprogs-dev.orig/include/gnukfreebsd.h	2010-04-03
> 12:29:57.048004157 +0200
> +++ xfsprogs-dev/include/gnukfreebsd.h	2010-04-03 12:30:12.913005989
> +0200
> @@ -119,4 +119,10 @@ static __inline__ void platform_uuid_cop
>  	uuid_copy(*dst, *src);
>  }
>  
> +static __inline__ int
> +platform_discard_blocks(int fd, uint64_t start, uint64_t len)
> +{
> +	return 0;
> +}
> +
>  #endif	/* __XFS_KFREEBSD_H__ */
> 

Looks good to me, thanks Christoph.

-- 
Nathan

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

      reply	other threads:[~2010-04-06 23:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03 10:33 [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd Christoph Hellwig
2010-04-06 23:59 ` Nathan Scott [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=1369590830.403251270598348701.JavaMail.root@mail-au.aconex.com \
    --to=nathans@aconex.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