]> Git Repo - J-linux.git/commitdiff
Merge patch series "Fix encoding overlayfs fid for fanotify delete events"
authorChristian Brauner <[email protected]>
Mon, 6 Jan 2025 14:43:58 +0000 (15:43 +0100)
committerChristian Brauner <[email protected]>
Mon, 6 Jan 2025 14:43:58 +0000 (15:43 +0100)
Amir Goldstein <[email protected]> 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[email protected]/
[3] https://github.com/amir73il/ltp/commits/ovl_encode_fid/

* patches from https://lore.kernel.org/r/20250105162404[email protected]:
  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/[email protected]
Signed-off-by: Christian Brauner <[email protected]>

Trivial merge
This page took 0.043434 seconds and 4 git commands to generate.