| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Sat, 3 Apr 2010 06:33:21 -0400 |
| User-agent: | Mutt/1.5.19 (2009-01-05) |
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
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__ */
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 9/8] xfs: remove xfs_dqmarker, Christoph Hellwig |
|---|---|
| Next by Date: | Re: Kernel crash in xfs_iflush_cluster (was Somebody take a look please!...), Janos Haar |
| Previous by Thread: | Re: [stable] [PATCH 0/19] xfs: 2.6.32.y stable tree updates, Greg KH |
| Next by Thread: | Re: [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |