diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2026-01-24 01:32:07 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2026-04-02 04:09:37 -0400 |
| commit | 5408c22b816f7012cc5ba80469389a088ab13663 (patch) | |
| tree | 661d4029c21e8301ad03c5da4332536f501188c7 /include/mtd/git@git.tavy.me:linux-stable.git | |
| parent | 2420067cecacb1d1bf6dc39294d0c9f04066ff98 (diff) | |
dcache.c: more idiomatic "positives are not allowed" sanity checks
Several functions have BUG_ON/WARN_ON sanity checks that want to verify
that dentry is not positive and instead of looking at ->d_inode (as we
do in all other places that check that) they look at ->d_alias.
Just use the normal helpers instead - that way we no longer even look
at ->d_alias for negative dentries
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
