Re: lockf: initialization order

2019-02-22 Thread Todd C . Miller
On Fri, 22 Feb 2019 07:49:43 +0100, Anton Lindqvist wrote: > Initialize the fields of `struct lockf' in the same order as the struct > definition, with the ambition of making easier to inspect that all > fields are properly initialized. Similar work has already been done in > lf_split(). OK

lockf: initialization order

2019-02-21 Thread Anton Lindqvist
Hi, Initialize the fields of `struct lockf' in the same order as the struct definition, with the ambition of making easier to inspect that all fields are properly initialized. Similar work has already been done in lf_split(). Comments? OK? Index: kern/vfs_lockf.c