Re: why does proc_fd_getattr() bother with S_ISDIR(inode->i_mode)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 3, 2024 at 8:40 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
>         ... when the only way to get to it is via ->getattr() in
> proc_fd_inode_operations?  Note that proc_fd_inode_operations
> has ->lookup() in it; it _can't_ be ->i_op of a non-directory.
>
>         Am I missing something here?

It's been two years, but I think I was just extra cautious.





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux