Message ID | 20241209085410.601489-1-chenxiaosong@chenxiaosong.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | [4.19] NFS: fix null-ptr-deref in nfs_inode_add_request() | expand |
On Mon, Dec 09, 2024 at 08:54:10AM +0000, chenxiaosong@chenxiaosong.com wrote: > From: ChenXiaoSong <chenxiaosong@kylinos.cn> > > There is panic as follows: 4.19.y is now end-of-life, so there is nothing we can do with this, sorry. Also, we don't apply patches that are not already accepted in Linus's tree. If this is still an issue there, please submit it properly for that tree first. thanks, greg k-h
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 65aaa6eaad2c..c69a539eee2c 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -660,7 +660,7 @@ static int nfs_page_async_flush(struct nfs_pageio_descriptor *pgio, return ret; out_launder: nfs_write_error_remove_page(req); - return 0; + return ret; } static int nfs_do_writepage(struct page *page, struct writeback_control *wbc,