]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/dcache.c
dcache: d_splice_alias should detect loops
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 12 Mar 2014 16:19:23 +0000 (12:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 7 Aug 2014 18:40:11 +0000 (14:40 -0400)
commit95ad5c291313b66a98a44dc92b57e0b37c1dd589
tree280b21d80632acd09ae17b9eace58e321bda41fb
parent9635389534a765c8357d988e53d323bf033dcdd0
dcache: d_splice_alias should detect loops

I believe this can only happen in the case of a corrupted filesystem.
So -EIO looks like the appropriate error.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c