mm-validate-inode-in-mapping_set_error.patch removed from -mm tree
The patch titled
Subject: mm: validate inode in mapping_set_error()
has been removed from the -mm tree. Its filename was
mm-validate-inode-in-mapping_set_error.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Minchan Kim <[email protected]>
Subject: mm: validate inode in mapping_set_error()
The swap address_space doesn't have host. Thus, it makes kernel crash once swap write meets error. Fix it.
---
include/linux/pagemap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/pagemap.h renamed from include/linux/pagemap.h~mm-validate-inode-in-mapping_set_error +2 -1
@@ -54,7 +54,8 @@ static inline void mapping_set_error(str__filemap_set_wb_err (mapping, error);/* Record it in superblock */ -errseq_set (&mapping->host->i_sb->s_wb_err, error); +if (mapping->host) +errseq_set (&mapping->host->i_sb->s_wb_err, error);/* Record it in flags for now, for legacy callers */ if (error == -ENOSPC )
_
Patches currently in -mm which might be from [email protected] are
mm-madvise-pass-mm-to-do_madvise.patch
pid-move-pidfd_get_pid-to-pidc.patch mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api.patch mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix.patch mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix-fix-fix-fix-fix.patch mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix-fix-fix-fix-fix-fix-fix.patch