Skip to content

nilfs2: fix issues with rename operations

Ryusuke Konishi linux-nilfs lkml 1 version Applied

Status from this message: [merged mm-nonmm-stable] nilfs2-do-not-update-mtime-of-renamed-directory-that-is-not-moved.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2nilfs2: handle errors that nilfs_prepare_chunk() may returnfs/nilfs2/dir.c fs/nilfs2/namei.c fs/nilfs2/nilfs.h+27 -190 repliesApplied
2/2nilfs2: do not update mtime of renamed directory that is not movedfs/nilfs2/namei.c+9 -70 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] nilfs2: fix issues with rename operations

Hi Andrew,

please add this series to the queue for the next merge window.

This series fixes BUG_ON check failures reported by syzbot around rename operations, and a minor behavioral issue where the mtime of a child directory changes when it is renamed instead of moved.

Thanks,
Ryusuke Konishi

Ryusuke Konishi (2):
nilfs2: handle errors that nilfs_prepare_chunk() may return
nilfs2: do not update mtime of renamed directory that is not moved

 fs/nilfs2/dir.c   | 13 ++++++++++---
 fs/nilfs2/namei.c | 39 +++++++++++++++++++++------------------
 fs/nilfs2/nilfs.h |  4 ++--
 3 files changed, 33 insertions(+), 23 deletions(-)
Signature · 1 line
2.43.0