Merge patch series "CONFIG_DEBUG_VFS at last"
authorChristian Brauner <brauner@kernel.org>
Mon, 10 Feb 2025 11:25:19 +0000 (12:25 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 21 Feb 2025 09:23:54 +0000 (10:23 +0100)
commit822c11592522dc00e1f447dbe95350071001d9f1
tree395352aed519c33306fc1687e9dec88fcbebd4a2
parent2014c95afecee3e76ca4a56956a936e23283f05b
parent3eb7e95104141609d4aed15affadedb81c408f03
Merge patch series "CONFIG_DEBUG_VFS at last"

Mateusz Guzik <mjguzik@gmail.com> says:

This adds a super basic version just to get the mechanism going, along
with sample usage.

The macro set is incomplete (e.g., lack of locking macros) and
dump_inode routine fails to dump any state yet, to be implemented(tm).

I think despite the primitive state this is complete enough to start
sprinkling asserts as necessary.

* patches from https://lore.kernel.org/r/20250209185523.745956-1-mjguzik@gmail.com:
  vfs: use the new debug macros in inode_set_cached_link()
  vfs: catch invalid modes in may_open()
  vfs: add initial support for CONFIG_DEBUG_VFS

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