| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Wed, 7 Apr 2010 09:59:08 +1000 (EST) |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20100403103321.GA20739@xxxxxxxxxxxxx> |
----- "Christoph Hellwig" <hch@xxxxxxxxxxxxx> wrote:
> 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__ */
>
Looks good to me, thanks Christoph.
--
Nathan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfsqa: new fsr defragmentation test, Dave Chinner |
|---|---|
| Next by Date: | Re: 2.6.34-rc3: simple du (on a big xfs tree) triggers oom killer [bisected: 57817c68229984818fea9e614d6f95249c3fb098], Dave Chinner |
| Previous by Thread: | [PATCH] xfsprogs: add a platform_discard_blocks stub to gnufreebsd, Christoph Hellwig |
| Next by Thread: | Oops in xfs_dir2_block_lookup_int from storage corruption [2.6.33], Simon Kirby |
| Indexes: | [Date] [Thread] [Top] [All Lists] |