[PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-29 Thread NeilBrown
Rather than assuming all-zeros is sufficient, use the available API to initialize the file_lock structure use for unlock. VFS-level changes will soon make it important that the list_heads in file_lock are always properly initialized. Signed-off-by: NeilBrown Reviewed-by: J. Bruce Fields ---

[PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-29 Thread NeilBrown
Rather than assuming all-zeros is sufficient, use the available API to initialize the file_lock structure use for unlock. VFS-level changes will soon make it important that the list_heads in file_lock are always properly initialized. Signed-off-by: NeilBrown Reviewed-by: J. Bruce Fields ---

[PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-11 Thread NeilBrown
Rather than assuming all-zeros is sufficient, use the available API to initialize the file_lock structure use for unlock. VFS-level changes will soon make it important that the list_heads in file_lock are always properly initialized. Signed-off-by: NeilBrown --- fs/gfs2/file.c | 10 +-

[PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-11 Thread NeilBrown
Rather than assuming all-zeros is sufficient, use the available API to initialize the file_lock structure use for unlock. VFS-level changes will soon make it important that the list_heads in file_lock are always properly initialized. Signed-off-by: NeilBrown --- fs/gfs2/file.c | 10 +-

Re: [PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-06 Thread Jeff Layton
On Tue, 2018-11-06 at 12:48 +1100, NeilBrown wrote: > On Mon, Nov 05 2018, Jeff Layton wrote: > > > On Mon, 2018-11-05 at 12:30 +1100, NeilBrown wrote: > > > Rather than assuming all-zeros is sufficient, use the available API to > > > initialize the file_lock structure use for unlock. > > >

Re: [PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-06 Thread Jeff Layton
On Tue, 2018-11-06 at 12:48 +1100, NeilBrown wrote: > On Mon, Nov 05 2018, Jeff Layton wrote: > > > On Mon, 2018-11-05 at 12:30 +1100, NeilBrown wrote: > > > Rather than assuming all-zeros is sufficient, use the available API to > > > initialize the file_lock structure use for unlock. > > >

Re: [PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-05 Thread NeilBrown
On Mon, Nov 05 2018, Jeff Layton wrote: > On Mon, 2018-11-05 at 12:30 +1100, NeilBrown wrote: >> Rather than assuming all-zeros is sufficient, use the available API to >> initialize the file_lock structure use for unlock. >> VFS-level changes will soon make it important that the >> list_heads in

Re: [PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-05 Thread NeilBrown
On Mon, Nov 05 2018, Jeff Layton wrote: > On Mon, 2018-11-05 at 12:30 +1100, NeilBrown wrote: >> Rather than assuming all-zeros is sufficient, use the available API to >> initialize the file_lock structure use for unlock. >> VFS-level changes will soon make it important that the >> list_heads in

Re: [PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-05 Thread Jeff Layton
On Mon, 2018-11-05 at 12:30 +1100, NeilBrown wrote: > Rather than assuming all-zeros is sufficient, use the available API to > initialize the file_lock structure use for unlock. > VFS-level changes will soon make it important that the > list_heads in file_lock are always properly initialized. > >

Re: [PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-05 Thread Jeff Layton
On Mon, 2018-11-05 at 12:30 +1100, NeilBrown wrote: > Rather than assuming all-zeros is sufficient, use the available API to > initialize the file_lock structure use for unlock. > VFS-level changes will soon make it important that the > list_heads in file_lock are always properly initialized. > >

[PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-04 Thread NeilBrown
Rather than assuming all-zeros is sufficient, use the available API to initialize the file_lock structure use for unlock. VFS-level changes will soon make it important that the list_heads in file_lock are always properly initialized. Signed-off-by: NeilBrown --- fs/gfs2/file.c | 10 +-

[PATCH 04/12] gfs2: properly initial file_lock used for unlock.

2018-11-04 Thread NeilBrown
Rather than assuming all-zeros is sufficient, use the available API to initialize the file_lock structure use for unlock. VFS-level changes will soon make it important that the list_heads in file_lock are always properly initialized. Signed-off-by: NeilBrown --- fs/gfs2/file.c | 10 +-