RHEL7: d_splice_alias leaks an inode when returning an EIO error

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content