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

From: Ryusuke Konishi
Date: Sat Jan 11 2025 - 09:35:34 EST


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(-)

--
2.43.0