Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

affs: d_obtain_alias(ERR_PTR(...)) will do the right thing

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 155d46be 1eae9a47

-3
-3
fs/affs/namei.c
··· 532 532 parent = affs_iget(child->d_sb, 533 533 be32_to_cpu(AFFS_TAIL(child->d_sb, bh)->parent)); 534 534 brelse(bh); 535 - if (IS_ERR(parent)) 536 - return ERR_CAST(parent); 537 - 538 535 return d_obtain_alias(parent); 539 536 } 540 537