All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd
@ 2010-04-03 10:33 Christoph Hellwig
  2010-04-06 23:59 ` Nathan Scott
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2010-04-03 10:33 UTC (permalink / raw)
  To: xfs


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd
  2010-04-03 10:33 [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd Christoph Hellwig
@ 2010-04-06 23:59 ` Nathan Scott
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2010-04-06 23:59 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs


----- "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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-06 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.