diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2026-01-24 17:58:48 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2026-04-02 03:45:02 -0400 |
| commit | 408d8af01f3a4d666620029a85e741906ff96f47 (patch) | |
| tree | de0dd838cb909a81d66851996aef41b5318a2ba4 /include/linux/i2c/git@git.tavy.me:linux-stable.git | |
| parent | 7aaa8047eafd0bd628065b15757d9b48c5f9c07d (diff) | |
for_each_alias(): helper macro for iterating through dentries of given inode
Most of the places using d_alias are loops iterating through all aliases for
given inode; introduce a helper macro (for_each_alias(dentry, inode))
and convert open-coded instances of such loop to it.
They are easier to read that way and it reduces the noise on the next steps.
You _must_ hold inode->i_lock over that thing.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
