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

From: Peng Tao
Date: Wed Jul 24 2013 - 02:10:57 EST

On Wed, Jul 24, 2013 at 4:35 AM, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> 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:
>> Lustre-change:
>> 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 :(
It relies on one previous patch ([PATCH 02/48]
staging/lustre/obdclass: restore lu_ref), which you have suggested to
drop. I will remove unnecessary part of the patch and resend (if
there's still anything left).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at