Re: [PATCH 21/48] staging/lustre/obdclass: use a dummy structure forlu_ref_link

From: Greg Kroah-Hartman
Date: Tue Jul 23 2013 - 16:35:48 EST


On Tue, Jul 23, 2013 at 12:06:42AM +0800, Peng Tao wrote:
> From: "John L. Hammond" <john.hammond@xxxxxxxxx>
>
> Move the definition of struct lu_ref_link to lu_ref.h. If USE_LU_REF
> is not defined then define it to be the empty struct. Change the
> return type of lu_ref_add() and lu_ref_add_atomic() to void. Add
> lu_ref_add_at() taking same arguments as lu_ref_add() togerther with a
> pointer to a struct lu_ref_link and returning void. Adjust all
> structures containing a lu_ref_link pointer to contain a struct
> lu_ref_link instead. Use lu_ref_add_at() and lu_ref_del_at() to
> handle embedded lu_ref_links.
>
> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3059
> Lustre-change: http://review.whamcloud.com/5920
> Signed-off-by: John L. Hammond <john.hammond@xxxxxxxxx>
> Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@xxxxxxxxx>
> Reviewed-by: Jinshan Xiong <jinshan.xiong@xxxxxxxxx>
> Reviewed-by: Mike Pershin <mike.pershin@xxxxxxxxx>
> Reviewed-by: Oleg Drokin <oleg.drokin@xxxxxxxxx>
> Signed-off-by: Peng Tao <tao.peng@xxxxxxx>
> Signed-off-by: Andreas Dilger <andreas.dilger@xxxxxxxxx>

This patch fails to apply :(

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/