Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

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

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

one can query for that ?)
This is intentional.
This is intentional.
See the comment above the code you added:
See the comment above the code you added:
* Be careful: the buffer linked list is a NULL terminated one, rather * than the circular one we're used to.
* than the circular one we're used to.
and then nobh_write_end() does:
and then nobh_write_end() does:
struct buffer_head *head = fsdata;
...
        while (head) {
                bh = head;

Viewing all articles
Browse latest Browse all 1267

Trending Articles