Thread (66 messages) 66 messages, 8 authors, 2012-08-23

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

From: Cyrill Gorcunov <hidden>
Date: 2012-08-21 10:54:24
Also in: lkml

On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov wrote:
quoted
quoted
However, if you have some better ideas on what information about inode should be exported
to the userspace please share.
Why not use name_to_handle(fd,...) and open_by_handle(handle,..) ?
Because we don't have an fd at hands by the time we need to know the handle.
Yeah, this might be not clear from patchset itself but inotify marks carry
inodes inside kernel thus it's inodes what we can use when we fetch information
about targets and put it into fdinfo output.

	Cyrill
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help