xfsprogs: add a platform_discard_blocks stub to gnufreebsd
PATCH 1/1 xfsprogs: add a platform_discard_blocks stub to gnufreebsd
Signed-off-by Christoph Hellwig <[email protected]>
include/gnukfreebsd.h +6 -0
@@ -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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 10 lines · ----- "Christoph Hellwig
Signed-off-by Christoph Hellwig <[email protected]>Index:
xfsprogs-dev/include/gnukfreebsd.h
===================================================================
---xfsprogs-dev.orig/include/gnukfreebsd.h2010-04-03
12:29:57.048004157 +0200
+++xfsprogs-dev/include/gnukfreebsd.h2010-04-03 12:30:12.913005989
+0200
include/gnukfreebsd.h static __inline__ void platform_uuid_cop · line 128
Quoted 10 lines
include/gnukfreebsd.h +6
-0@@ -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.
Signature · 6 lines
Nathan _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs