+1
−1
+1
−1
+3
−3
+1
−1
Loading
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>