RHEL7: d_splice_alias leaks an inode when returning an EIO error
Issue
- kernel:
d_splice_alias
leaks an inode when returning an EIO error with following error:
# mount -oloop out.iso /mnt/tmp >/dev/null 2>&1; ls -li /mnt/tmp
ls: cannot access /mnt/tmp/dir2: Input/output error
total 2
1856 drwxr-xr-x 2 root root 2048 Sep 4 16:42 dir1
? ?????????? ? ? ? ? ? dir2
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.