[PATCH 008/145] libxfs: add more list operations
Darrick J. Wong
darrick.wong at oracle.com
Thu Jun 23 19:46:38 CDT 2016
On Fri, Jun 24, 2016 at 10:40:22AM +1000, Dave Chinner wrote:
> On Thu, Jun 16, 2016 at 06:31:35PM -0700, Darrick J. Wong wrote:
> > Add some list operations that the deferred rmap code requires.
> >
> > Signed-off-by: Darrick J. Wong <darrick.wong at oracle.com>
>
> This has all come from the linux kernel, right?
Yes.
> Can you tell me
> which files it has come from so I can add it to the commit message?
lib/list_sort.c for all the list_sort stuff,
include/linux/list.h for the rest of the list_* stuff,
include/linux/kernel.h for container_of.
> Maybe it would be better to keep the list sorting code in it's own
> file (e.g. libxfs/list_sort.c) just to keep a bit of separation
> between the xfs code and code that is copied in from outside?
I'd wondered if it made more sense to do that, but (sort of arbitrarily
decided not to add more files).
--D
>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david at fromorbit.com
>
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
More information about the xfs
mailing list