[lkml]   [2015]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: lustre: question about lov_request.c
>   You are right, set_pga seems to be a dead member. It was alive a once, but somehow not fully removed now,
> so it's safe to drop the whole if and also the struct member itself.
> set_oabufs could be dropped as well.

Looking further, in the same function I also don't see any other uses of
the tested field in:

if (req->rq_oi.oi_md)
OBD_FREE_LARGE(req->rq_oi.oi_md, req->rq_buflen);

if (set->set_lockh)

Can these be dropped as well?


 \ /
  Last update: 2015-06-08 09:41    [W:0.042 / U:5.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site