aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2020-10-11 06:16:37 +0000
committerLinus Torvalds <[email protected]>2020-10-11 17:31:10 +0000
commit8b7b2eb131d3476062ffd34358785b44be25172f (patch)
tree0493b45139ad6b1dd8e4714987d6c9a047c7d37b /fs/jbd2/commit.c
parentmm: mmap: Fix general protection fault in unlink_file_vma() (diff)
downloadkernel-8b7b2eb131d3476062ffd34358785b44be25172f.tar.gz
kernel-8b7b2eb131d3476062ffd34358785b44be25172f.zip
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. Fixes: 735e4ae5ba28 ("vfs: track per-sb writeback errors and report them to syncfs") Signed-off-by: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Jeff Layton <[email protected]> Cc: Jan Kara <[email protected]> Cc: Andres Freund <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Al Viro <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Dave Chinner <[email protected]> Cc: David Howells <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions