public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: xfs@oss.sgi.com
Subject: [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd
Date: Sat, 3 Apr 2010 06:33:21 -0400	[thread overview]
Message-ID: <20100403103321.GA20739@infradead.org> (raw)


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__ */

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

             reply	other threads:[~2010-04-03 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03 10:33 Christoph Hellwig [this message]
2010-04-06 23:59 ` [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd Nathan Scott

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=20100403103321.GA20739@infradead.org \
    --to=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