[PATCH 6.1 0/3] nilfs2: protect busy buffer heads from being force-cleared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please apply this series to the 6.1-stable tree.

This series makes it possible to backport the latter two patches
(fixing some syzbot issues and a use-after-free issue) that could not
be backported to 6.1.y.

To achieve this, one dependent patch (patch 1/3) is included, and each
patch is tailored to avoid extensive page/folio conversion.  Both
adjustments are specific to nilfs2 and do not include tree-wide
changes.

It has also been tested against the latest 6.1.y.

Thanks,
Ryusuke Konishi


Ryusuke Konishi (3):
  nilfs2: do not output warnings when clearing dirty buffers
  nilfs2: do not force clear folio if buffer is referenced
  nilfs2: protect access to buffers with no active references

 fs/nilfs2/inode.c   |  4 ++--
 fs/nilfs2/mdt.c     |  6 ++---
 fs/nilfs2/page.c    | 55 ++++++++++++++++++++++++++-------------------
 fs/nilfs2/page.h    |  4 ++--
 fs/nilfs2/segment.c |  4 +++-
 5 files changed, 42 insertions(+), 31 deletions(-)

-- 
2.43.5





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux