Re: [PATCH] fs: avoid NULL pointer dereference for nobh on write error

2017-11-12 Thread Jerome Glisse
On Fri, Nov 10, 2017 at 12:38:29PM -0800, Linus Torvalds wrote: > On Thu, Nov 9, 2017 at 1:49 PM, wrote: > > > > (Result of code inspection only, i do not have a bug, nor know a bug > > that would be explain by this issue. Is there a kernel trace database > > one can query

Re: [PATCH] fs: avoid NULL pointer dereference for nobh on write error

2017-11-12 Thread Jerome Glisse
On Fri, Nov 10, 2017 at 12:38:29PM -0800, Linus Torvalds wrote: > On Thu, Nov 9, 2017 at 1:49 PM, wrote: > > > > (Result of code inspection only, i do not have a bug, nor know a bug > > that would be explain by this issue. Is there a kernel trace database > > one can query for that ?) > > This

Re: [PATCH] fs: avoid NULL pointer dereference for nobh on write error

2017-11-10 Thread Linus Torvalds
On Thu, Nov 9, 2017 at 1:49 PM, wrote: > > (Result of code inspection only, i do not have a bug, nor know a bug > that would be explain by this issue. Is there a kernel trace database > one can query for that ?) This is intentional. See the comment above the code you added:

Re: [PATCH] fs: avoid NULL pointer dereference for nobh on write error

2017-11-10 Thread Linus Torvalds
On Thu, Nov 9, 2017 at 1:49 PM, wrote: > > (Result of code inspection only, i do not have a bug, nor know a bug > that would be explain by this issue. Is there a kernel trace database > one can query for that ?) This is intentional. See the comment above the code you added: * Be

[PATCH] fs: avoid NULL pointer dereference for nobh on write error

2017-11-09 Thread jglisse
From: Jérôme Glisse (Result of code inspection only, i do not have a bug, nor know a bug that would be explain by this issue. Is there a kernel trace database one can query for that ?) When fs is mounted with nobh temporary buffer_head are created during write and they are

[PATCH] fs: avoid NULL pointer dereference for nobh on write error

2017-11-09 Thread jglisse
From: Jérôme Glisse (Result of code inspection only, i do not have a bug, nor know a bug that would be explain by this issue. Is there a kernel trace database one can query for that ?) When fs is mounted with nobh temporary buffer_head are created during write and they are only associated with