Linux filesystem development
 help / color / mirror / Atom feed
* why does proc_fd_getattr() bother with S_ISDIR(inode->i_mode)?
@ 2024-06-04  3:40 Al Viro
  2024-06-04 17:35 ` Ivan Babrou
  0 siblings, 1 reply; 4+ messages in thread
From: Al Viro @ 2024-06-04  3:40 UTC (permalink / raw)
  To: Ivan Babrou; +Cc: linux-fsdevel

	... 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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-05 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04  3:40 why does proc_fd_getattr() bother with S_ISDIR(inode->i_mode)? Al Viro
2024-06-04 17:35 ` Ivan Babrou
2024-06-04 17:40   ` Al Viro
2024-06-05 14:26     ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox