linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] open_by_handle() vs. EA inodes
@ 2018-06-29 18:19 Al Viro
  2018-06-29 19:38 ` Trond Myklebust
  0 siblings, 1 reply; 5+ messages in thread
From: Al Viro @ 2018-06-29 18:19 UTC (permalink / raw)
  To: linux-ext4; +Cc: linux-fsdevel

	On ea_inode-enabled ext4 open_by_handle() (as well as knfsd, etc.)
can get to EA inodes as long as it knows their inumbers - just pass it
an fhandle with zeroed version bytes and the right inumber in it.

	AFAICS, it's Not Nice(tm), especially since you can write to those,
whether they are shared or not.

	Should we make ext4_nfs_get_inode() check for EXT4_EA_INODE_FL
and fail if it's set?

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

end of thread, other threads:[~2018-07-03 16:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-29 18:19 [RFC] open_by_handle() vs. EA inodes Al Viro
2018-06-29 19:38 ` Trond Myklebust
2018-06-29 19:57   ` Al Viro
2018-06-29 20:15     ` Al Viro
2018-07-03 16:46       ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).