Re: [PATCH 08/12] libfrog: move workqueue.h to libfrog/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 03, 2019 at 09:36:34PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> Move this header to libfrog since the code is there already.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> ---
>  include/workqueue.h |   41 -----------------------------------------
>  libfrog/Makefile    |    3 ++-
>  libfrog/workqueue.h |   41 +++++++++++++++++++++++++++++++++++++++++
>  repair/threads.h    |    2 +-
>  scrub/fscounters.c  |    2 +-
>  scrub/inodes.c      |    2 +-
>  scrub/phase1.c      |    2 +-
>  scrub/phase2.c      |    2 +-
>  scrub/phase3.c      |    2 +-
>  scrub/phase4.c      |    2 +-
>  scrub/phase5.c      |    2 +-
>  scrub/phase6.c      |    2 +-
>  scrub/read_verify.c |    2 +-
>  scrub/spacemap.c    |    2 +-
>  scrub/vfs.c         |    2 +-
>  15 files changed, 55 insertions(+), 54 deletions(-)
>  delete mode 100644 include/workqueue.h
>  create mode 100644 libfrog/workqueue.h

ok.

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>

> diff --git a/libfrog/workqueue.h b/libfrog/workqueue.h
> new file mode 100644
> index 00000000..a1f3a57c
> --- /dev/null
> +++ b/libfrog/workqueue.h
> @@ -0,0 +1,41 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (C) 2017 Oracle.  All Rights Reserved.
> + * Author: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> + */
> +#ifndef	__LIBFROG_WORKQUEUE_H__
> +#define	__LIBFROG_WORKQUEUE_H__

FWIW, I like that these all have consistent guards now :)

-Dave.

-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux