[Devel] [PATCH rh7 0/4] ext4: more error hanglings (ports from mainstream)

Konstantin Khorenko khorenko at virtuozzo.com
Wed Feb 3 17:45:49 MSK 2021


Just potentially useful mainstream patches which can prevent fs
corruptions due to proper error handlings.

Harshad Shirwadkar (1):
  ms/ext4: handle ext4_mark_inode_dirty errors

Theodore Ts'o (3):
  ms/ext4: allow ext4_truncate() to return an error
  ms/ext4: allow ext4_ext_truncate() to return an error
  ms/ext4: propagate error values from ext4_inline_data_truncate()

 fs/ext4/acl.c       |  4 +-
 fs/ext4/ext4.h      |  8 ++--
 fs/ext4/ext4_jbd2.h |  5 ++-
 fs/ext4/extents.c   | 49 ++++++++++++++-----------
 fs/ext4/indirect.c  |  4 +-
 fs/ext4/inline.c    | 46 +++++++++++++----------
 fs/ext4/inode.c     | 89 ++++++++++++++++++++++++++++++---------------
 fs/ext4/ioctl.c     |  7 +++-
 fs/ext4/migrate.c   | 12 ++++--
 fs/ext4/namei.c     | 78 +++++++++++++++++++++++++--------------
 fs/ext4/super.c     | 22 +++++++----
 11 files changed, 204 insertions(+), 120 deletions(-)

-- 
2.24.3



More information about the Devel mailing list