]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge patch series "Fix encoding overlayfs fid for fanotify delete events"
authorChristian Brauner <brauner@kernel.org>
Mon, 6 Jan 2025 14:43:58 +0000 (15:43 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 6 Jan 2025 14:43:58 +0000 (15:43 +0100)
commit368fcc5d3f8bf645a630a44e65f5eb008aba7082
tree40f72d42cb6e55796b824b50ca81f668948921cd
parent03f275adb8fbd7b4ebe96a1ad5044d8e602692dc
parentc45beebfde34aa71afbc48b2c54cdda623515037
Merge patch series "Fix encoding overlayfs fid for fanotify delete events"

Amir Goldstein <amir73il@gmail.com> says:

This is a followup fix to the reported regression [1] that was
introduced by overlayfs non-decodable file handles support in v6.6.

The first fix posted two weeks ago [2] was a quick band aid which is
justified on its own and is still queued on your vfs.fixes branch.

This followup fix fixes the root cause of overlayfs file handle encoding
failure and it also solves a bug with fanotify FAN_DELETE_SELF events on
overlayfs, that was discovered from analysis of the first report.

The fix to fanotify delete events was verified with a new LTP test [3].

[1] https://lore.kernel.org/linux-fsdevel/CAOQ4uxiie81voLZZi2zXS1BziXZCM24nXqPAxbu8kxXCUWdwOg@mail.gmail.com/
[2] https://lore.kernel.org/linux-fsdevel/20241219115301.465396-1-amir73il@gmail.com/
[3] https://github.com/amir73il/ltp/commits/ovl_encode_fid/

* patches from https://lore.kernel.org/r/20250105162404.357058-1-amir73il@gmail.com:
  ovl: support encoding fid from inode with no alias
  ovl: pass realinode to ovl_encode_real_fh() instead of realdentry

Link: https://lore.kernel.org/r/20250105162404.357058-1-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>