[lustre-devel] [patch] staging: lustre: remove unused variable

Dilger, Andreas andreas.dilger at intel.com
Tue Nov 3 17:43:03 PST 2015


On 2015/11/03, 15:38, "Simmons, James A." <simmonsja at ornl.gov> wrote:

>>The "->lr_lvb_data" struct member is never used.  Delete it.
>>
>>Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
>>---
>>I have compile tested this.  I looked through the history and it seems
>>to never have been used.  I wonder if we can remove the locking as well.
>
>This is used by the quota and ofd layer which are both server side.

When the server code is merged upstream this can be added to a union that
contains only server-side data that overlaps with a union containing only
client-side data.  For now it is fine to remove from the kernel.

Cheers, Andreas
-- 
Andreas Dilger

Lustre Software Architect
Intel High Performance Data Division




More information about the lustre-devel mailing list